css布局移动端手机端实名认证上传身份证页面效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局移动端手机端实名认证上传身份证页面效果代码
代码标签: 端 手机 端 实名 认证 上传 身份证 页面 效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>实名认证</title> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> <style> * { margin: 0; padding: 0; border: 0; list-style: none; text-decoration: none; color: inherit; font-weight: normal; font-family: "微软雅黑"; box-sizing: border-box; font-style: normal; outline: none; -webkit-tap-highlight-color: transparent; } body { width: 100%; overflow-x: hidden; background: url(//repo.bfw.wiki/bfwrepo/image/60d2b7aa91240.png) top 0 left no-repeat #fff; background-size: 100% auto; color: #ffffff; } img { vertical-align: middle; max-width: 100%; } .hidden { display: none; } .container { width: 100%; padding: 0 .4rem; } /*顶部*/ .top { width: 100%; height: auto; overflow: hidden; padding-top: .1rem; } .top .top-bar { display: flex; justify-content: center; align-items: center; width: 100%; height: .88rem; font-size: .36rem; letter-spacing: .01rem; position: relative; } .top .top-bar i { position: absolute; left: .3rem; font-size: .28rem; } .top .slogan { width: 100%; padding-top: .8rem; padding-left: .9rem; padding-bottom: 1.6rem; } .top .slogan p { font-size: .49rem; letter-spacing: 0.05rem; padding-bottom: .1rem; } /*身份证*/ .idcard { width: 100%; height: 3.4rem; margin-bottom: .6rem; background: url(//repo.bfw.wiki/bfwrepo/image/60d2b7c35cabf.png) center center no-repeat; background-size: 5.57rem 3.4rem; display: flex; align-items: center; justify-content: center; } .idcard .img { position: relative; width: 5.02rem; height: 2.86rem; text-align: center; } .idcard .img img { width: 100%; height: 100%; } .idcard .img .mask { position: absolute; width: 100%; height: 100%; display: flex; left: 0; top: 0; flex-direction: column; justify-content: center; align-items: center; } .idcard .img .mask i { display: inline-block; width: .94rem; height: .94rem; background: url(//repo.bfw.wiki/bfwrepo/image/60d2b7618092e.png) center center no-repeat; background-size: 100%; margin-top: .2rem; } .idcard .img .mask p { font-size: .32rem; padding-top: .55rem; } /*认证*/ .submit { width: 100%; padding: 0 .2rem .3rem .2rem; } .submit button { width: 100%; height: .92rem; line-height: .92rem; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0