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;
}
body {
width: 100%;
overflow-x: hidden;
background: url(//repo.bfw.wiki/bfwrepo/image/60851ddd30081.png) top left no-repeat;
background-size: 100%;
}
img {
vertical-align: middle;
max-width: 100%;
}
a:hover,a:active,a:visited,a:link,a:focus {
-webkit-tap-highlight-color: transparent;
outline: none;
text-decoration: none;
}
/*头像*/
.head .img {
width: 1.45rem;
height: 1.45rem;
background: #FFFFFF;
border-radius: 50%;
margin: 0 auto;
margin-top: 1.25rem;
text-align: center;
}
.head img {
border-radius: 50%;
width: 1.25rem;
width: 1.45rem;
}
.head p {
text-align: center;
color: #f65e04;
font-size: .24rem;
padding-top: .15rem;
}
/*登陆表单*/
form {
width: 100%;
height: auto;
overflow: hidden;
padding: 1.85rem .45rem .45rem .45rem;
}
form .item {
display: flex;
align-items: center;
height: .85rem;
margin-bottom: .35rem;
font-size: .30rem;
color: #333333;
}
form .item input {
width: 100%;
height: 100%;
display: inline-block;
border: .01rem solid #ebebeb;
border-radius: .85rem;
box-shadow: 0px 0px 10px rgba(200,200,200,.1);
padding-left: .8rem;
outline: none;
}
form .item input.name {
background: url(//repo.bfw.wiki/bfwrepo/image/608ff7893b3e9.png) left .3rem center no-repeat;
background-size: .35rem .35rem;
}
form .item input.vcode {
background: url(//repo.bfw.wiki/bfwrepo/image/608ff7a07da6a.png) left .3rem center no-repeat;
background-size: .33rem .33rem;
}
form .item input.password {
background: url(//repo.bfw.wiki/bfwrepo/image/608ff7a07da6a.png) left .3rem center no-repeat;
background-size: .33rem .33rem;
}
form .item span {
flex-shrink: 0;
display: inline-block;
width: 1.6rem;
margin-left: .2rem;
height: 100%;
line-height: .85rem;
border-radius: .85rem;
background: #f65e04;
font-size: .24rem;
color: #fff;
text-align: center;
}
form .item span.disabled {
background: #808080;
}
form p {
.........完整代码请登录后点击上方下载按钮下载查看
网友评论0