js实现手机端向右滑动验证效果代码
代码语言:html
所属分类:拖放
代码描述:js实现手机端向右滑动验证效果代码,请在手机端预览查看
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html lang="utf-8"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style> .stage { position: relative; padding: 0 15px; height: 55px; } .slider { position: absolute; height: 52px; box-shadow: 0 0 3px #999; background-color: #ddd; left: 15px; right: 15px; } .label { background: -webkit-gradient(linear, left top, right top, color-stop(0, #4d4d4d), color-stop(.4, #4d4d4d), color-stop(.5, white), color-stop(.6, #4d4d4d), color-stop(1, #4d4d4d)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-animation: slidetounlock 3s infinite; -webkit-text-size-adjust: none; line-height: 52px; height: 52px; text-align: center; font-size: 16px; width: 100%; color: #aaa; } @keyframes slidetounlock { 0.........完整代码请登录后点击上方下载按钮下载查看
网友评论0