H5网易注册页面实战
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>网易注册界面</title>
<style>
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,
form,fieldset,legend,input,textarea,p,blockquote,th,td{
margin:0;padding:0
}
a{
text-decoration: none;
color:#ccc;
}
body{
font-size: 12px;
}
.header{
width:960px;
height:80px;
margin:0 auto;
padding-top: 28px;
box-sizing:border-box;
}
.header .logo{
width:644px;
height:27px;
background-image: url("2.png");
background-repeat: no-repeat;
background-position:0px 0px;
float:left;
}
.header .logo a{
width:125px;
height:27px;
display:inline-block;
}
.header .links{
width:200px;
height:27px;
float:right;
text-align:right;
}
.header .links a{
color:#ccc;
line-height:27px;
}
.content{
width:960px;
height:600px;
margin:0 auto;
}
.content .top{
width:960px;
height:38px;
background:url("lc.png") repeat-x;
}
.top .top-left{
width:960px;
height:38px;
background:url("images/line-left.png") no-repeat left 0;
}
.top h1{
color:white;
font-size:12px;
line-height:38px;
text-indent:2em;
}
.top .top-right{
width:960px;
height:38px;
background:url("1.png") no-repeat right -530x;
float:right;
}
.content .bottom{
width:960px;
height:562px;
}
.bottom .bottom-left{
width:642px;
height:562px;
float:left;
padding-top:50px;
padding-left:80px;
border:1px solid #cdcdcd;
border-top:none;
box-sizing:border-box;
background-color: #f8f8f8;
}
.bottom-left .left-top{
width:560px;
height:60px;
}
.left-top ul{
list-style:none;
width:412px;
height:34px;
background:url("images/tab.jpg") no-repeat left 0;
}
ul li{
float:left;
width:137px;
height:34px;
line-height:34px;
text-align:center;
}
li a{
color: #0f0f0f;
font-size:15px;
}
.bottom-left .left-bottom{
width:560px;
height:373px;
}
.left-bottom .input-line{
width:413px;
height:28px;
}
.input-line span{
float:left;
width:60px;
height:28px;
font-size:13px;
line-height:28px;
text-align:right;
}
.input-line .star {
font-size:16px;
width:0;
color: red;
}
.input-line div{
float:right;
width:333px;
height:28px;
}
.input-line input{
width:210px;
height:24px;
}
.input-line select{
width:100px;
height:26px;
}
.input-line img{
width:100px;
height:28px;
float:left;
margin-left:19px;
}
.input-line .vcode-input{
float:left;
}
.left-bottom p{
margin-left:80px;
line-height:28px;
}
.left-bottom .pwd{
width: 332px;
height: 24px;
}
.left-bottom input[type=submit]{
width:119px;
height:37px;
background:url("2.png") no-repeat -144px -360px;
border:none;
font-size:20px;
color:white;
margin-left:80px;
margin-top:22px;
}
.bottom .bottom-right{
width:318px;
height:562px;
background: #f5f5f5;
float:right;
padding-top:105px;
padding-left:45px;
box-sizing:border-box;
border:1px solid #ccc;
border-top:none;
}
.footer{
width:960px;
height:48px;
/*background-color:green;*/
margin:0 auto;
}
.footer p{
color:#ccc;
line-height:48px;
text-align:center;
}
</style>
</head>
<body>
<!--头部开始-->
<div class="header">
<div class="logo">
<a href="#" title="网易163免费邮箱"></a>
<a href="#" title="网易126免费邮箱"></a>
<a href="#" title="网易Yeah.net免费邮"></a>
</div>
<div class="links">
<a href="#">了解更多</a>
|
<a href="#">反馈意见</a>
</div>
</div>
<!--头部结束-->
<!--中部开始-->
<div class="content">
<!--中顶部开始-->
<div class="top">
<div class="top-left">
<div class="top-right">
<h1>欢迎注册无限容量网易邮箱!邮件地址可以登录使用其他网易旗下产品。</h1>
</div>
</div>
</div>
<!--中顶部结束-->
<!--中底部开始-->
<div class="bottom">
<div class="bottom-left">
<div class="left-top">
<ul>
<li><a href="#">注册字母邮箱</a></li>
<li><a href="#">注册手机号码邮箱</a></li>
<li><a href="#">注册VIP邮箱</a></li>
</ul>
</div>
<div class="left-bottom">
<div class="input-line">
<span><span class="star">*</span>邮件地址</span>
<div>
<input type="text" value="建议使用手机号码注册" />@<select>
<option value="163.com">163.com</option>
<option value="126.com">126.com</option>
<option value="lnj.net">lnj.com</option>
</select>
</div>
</div>
<p>6~18个字符,可使用字母、数字、下划线。需以字母隔开</p>
<div class="input-line">
<span><span class="star">*</span>密码</span>
<div>
<input class="pwd" type="text" />
</div>
</div>
<p>6~16个字符,区分大小写</p>
<div class="input-line">
<span><span class="star">*</span>确认密码</span>
<div>
<input class="pwd" type="text" />
</div>
</div>
<p>请再次填写</p>
<div class="input-line">
<span><span class="star">*</span>手机号码</span>
<div>
<input class="pwd" type="text" />
</div>
</div>
<p>忘记密码时,可以通过该手机快速找回</p>
<div class="input-line">
<span><span class="star">*</span>验证码</span>
<div>
<input class="vcode-input" type="text" />
<img src="https://reg.mail.163.com/unireg/call.do?cmd=register.verifyCode&v=common/verifycode/vc_en&vt=main_acode&env=787067117193&t=1573914003793" />
</div>
</div>
<p>请填写图片中的字符,不区分大小写</p>
<p>
<input type="checkbox" checked="checked" name="tongyi" />
同意<a href="#">“服务条款”</a>和<a href="#">“隐私权保护和个人信息利用政策”</a>
</p>
<input type="submit" value="立即注册" />
</div>
</div>
<div class="bottom-right">
<img src="1.png" alt="" />
</div>
</div>
<!--中底部结束-->
</div>
<!--中部结束-->
<!--尾部开始-->
<div class="footer">
<p>
<a href="#">关于网易</a>
<a href="#">关于网易免费邮</a>
<a href="#">邮箱官方博客</a>
<a href="#">客户服务</a>
<a href="#">隐私政策</a>
| 网易公司版权所有 © 1997-2015
</p>
</div>
<!--尾部结束-->
</body>
</html>
效果图:![网易注册实战](https://img-blog.csdnimg.cn/20191116224559568.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MzY4OTYwOQ==,size_16,color_FFFFFF,t_70)