abstract:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="shortcut icon" type="image/x
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link rel="shortcut icon" type="image/x-icon" href="/static/images/footlogo.png"/> <link rel="stylesheet" type="text/css" href="/static/css/login.css"/> <link rel="stylesheet" type="text/css" href="/static/font-awesome/css/font-awesome.min.css"> <title>小米賬號-登錄</title> </head> <body> <div class="top"> <a href="../index.html"><img src="/static/images/5.png" alt=""></a> </div> <div class="main"> <div class="main_1"> <p><span style="color:#ff6700"id="regTabs_0" onclick=" lt(this)">賬號登錄</span> <span style="color:#ccc">|</span><span id="regTabs_1" onclick=" lt1(this)">掃描登錄</span> </p> <div class="main_1_1" id="register_0"> <form action=""> <input type="text" placeholder="郵箱/手機號碼/小米ID" > <input type="password" placeholder="密碼"> <button>登錄</button> </form> <h6><a class="main_1a" href="">手機短信登錄/注冊</a><span><a href=""class="main_1a_span1">立即注冊</a> | <a href=""class="main_1a_span2">忘記密碼?</a></span></h6> <div class="clear"></div> <div class="main_1_Pic"> <p>其他方式登錄</p> <a href=""style="margin-left:70px;background:RGB(2,136,209);"><i class="fa fa-qq"></i></a> <a href=""style="background:RGB(211,47,47)"><i class="fa fa-weibo" ></i></a> <a href=""style="background:RGB(54,188,241)"><i class="fa fa-twitter-square"></i></a> <a href=""style="background:RGB(0,210,13)"><i class="fa fa-weixin"></i></a> </div> </div> <div class="main_1_2" id="register_1"> <img src="images/下載.png" alt=""> <p>使用<span style="color:#ff6700;font-size:15px">小米商城APP</span>掃一掃</p> <p>小米手機可打開「設(shè)置」>「小米帳號」掃碼登錄</p> </div> </div> </div> <div class="foot"> <p><span style="color:#000 ;margin: 0px 0px;">簡體</span><span>|</span> 繁體<span>|</span> English<span>|</span> 常見問題<span>|</span> 隱私政策</p> <p>小米公司版權(quán)所有-京ICP備10046444-京公網(wǎng)安備11010802020134號-京ICP證110507號</p> </div> <script type="text/javascript"> function lt(x){ document.getElementById("register_0").style.display="block" document.getElementById("regTabs_0").style.color="#ff6700"; document.getElementById("register_1").style.display="none" document.getElementById("regTabs_1").style.color="#757575"; } function lt1(x){ document.getElementById("register_1").style.display="block"; document.getElementById("regTabs_1").style.color="#ff6700"; document.getElementById("register_0").style.display="none"; document.getElementById("regTabs_0").style.color="#757575"; } </script> </body> </html> ------------CSS部分-- *{margin:0px; padding:0px;} a{text-decoration: none; color:#757575} li{list-style: none;} .clear{clear: both;} .top{ width:1226px; height:100px; margin: 0px auto; line-height:135px; padding-left:100px; } .main{ width:100%; height:589px; background: url(/static/images/login.png) no-repeat center; margin:0px auto; position: relative; } .main_1{ width:410px; height:520px; background:#fff; position:sticky;top:22%; left:58% } .main_1 p{ font-size: 25px; color: #757575; height:100px; line-height:100px; text-align: center; } .main_1 p span{ margin:0px 15px; } .main_1 form { width:350px; margin:0px 30px; } .main_1 form input{ width:340px; height:50px; margin-bottom: 15px; padding-left: 10px; } .main_1 form button{ width:352px; color:#fff; background:#ff6700; height:50px; line-height: 50px; text-align: center; border:none; margin:10px 0px; } .main_1 h6{ margin-left:30px; } .main_1a{ float: left; color:#ff6700 } .main_1 h6 span{ margin-right:30px; float: right; } .main_1a_span1:hover,.main_1a_span2:hover{color:#ff6700;} .main_1_Pic{ width:350px; height:80px; margin:110px 30px 0px; position: relative; border-top:1px solid #757575 } .main_1_Pic p{ font-size: 13px; background:#fff; width:95px;height:20px; color:#757575; line-height: 20px; text-align: center; position: absolute;top:-10px;left:127.5px; } .main_1_Pic a{ color:#fff; border-radius:16px ; width:32px;height: 32px; background:#ccc; display:inline-block; line-height: 32px; text-align: center; margin:30px 15px; } .main_1_2{ display:none; } .main_1_2 img{ width:180px; height:180px; margin: 100px 115px 10px; } .main_1_2 p{ font-size:14px; height:20px; line-height: 20px; text-align: center } /* 底部 */ .foot{ width:1226px; height:80px; font-size: 13px; color: #757575; margin: 0px auto; text-align: center; line-height: 30px; padding-top:100px ; } .foot p span{ margin:0px 10px; }
Correcting teacher:天蓬老師Correction time:2019-02-23 14:50:31
Teacher's summary:對于一行注釋都沒有代碼, 真的是不喜歡, 希望你盡快養(yǎng)成寫注釋的好習(xí)慣