1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
| <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .box { width: 400px; height: 450px; border: 1px solid rgb(217,216,216); border-radius: 15px; margin-top: 5%; margin-left: 30%; background-color: #e3e2e2; }
h1, span { margin-left: 20px; } span,a { font-size: 14px; }
span { color: rgb(129,129,129); }
a { text-decoration: none; }
.forme { margin-left:20px; color:black; line-height:40px; }
input { border: 1px solid #e2e0e0; border-radius: 3px; height:25px; }
.user,.pwd { width: 270px; height: 25px; }
select { border: 1px solid #e2e0e0; border-radius: 3px; height:27px; }
.phone { width: 202px; }
.yzm { width: 185px; }
.ipt { height:30px; width:80px; vertical-align: middle; background: url('2.png') center/70px 30px; }
.test { vertical-align: middle; }
.sp1 { margin-left: -1px; }
.zc { width: 330px; height: 35px; background-color: skyblue; color:white; } </style> </head> <body> <div class="box"> <h1>请注册</h1> <span>已有账号?</span> <a href="#">登录</a> <br> <br>
<form action="" class="forme"> 用户名 <input type="text" name='user' placeholder="请输入用户名" class="user"> <br> 手机号 <select name="" id=""> <option value="10010">10010</option> <option value="10086">10086</option> </select> <input type="text" name="phone" placeholder="请输入手机号" class="phone"> <br> 密 码 <input type="password" name="pwd" placeholder="请输入密码" class="pwd"> <br> 验证码 <input type="text" name="yzm" placeholder="请输入验证码" class="yzm"> <input type="button" class="ipt"> <br> <input type="checkbox" value="xy" class="test"><span class="sp1">阅读并接受协议</span> <br> <input type="submit" value="注册" class="zc">
</form> </div> </body> </html>
|