亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

分享一下代碼!

希望相互交流,看到不同的布局思路。

正在回答

1 回答

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>登錄界面</title>

<style type="text/css">

* {

margin: 0;

padding: 0;

}

.box {

width: 220px;

height: 400px;

background: #ebf2fa;

}

.login-form {

padding: 15px;

}

.login-input {

display: block;

width: 188px;

height: 32px;

border: 1px solid #abd6c9;

border-radius: 3px;

text-indent: 30px;

margin-top: 15px;

font-size: 15px;

}

p {

height: 13px;

margin-top: 15px;

}

p a {

font-size: 13px;

text-decoration: none;

float: right;

}

p lable {

font-size: 13px;

vertical-align: top;

}

.btn {

width: 190px;

height: 38px;

margin-top: 15px;

border: 0;

background: url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg) no-repeat;

text-indent: -999em;

cursor: pointer;

}

.btn2 {

background-position: 0 -38px;

}

hr {

margin-top: 20px;

color:#CCC;

}

</style>

</head>


<body>

<div class="box">

? <form class="login-form">

? ? <input class="login-input" type="text" placeholder="郵箱/手機號/用戶名"/>

? ? <input class="login-input" type="password" placeholder="請輸入密碼"/>

? ? <p>

? ? ? <input id="autologin" type="checkbox" />

? ? ? <label for="autologin">下次自動登錄</label>

? ? ? <a href="#">忘記密碼?</a> </p>

? ? <input type="submit" class="btn" value="登錄"/>

? ? <hr />

? ? <input type="button" class="btn btn2" value="注冊"/>

? </form>

</div>

</body>

</html>


1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

分享一下代碼!

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號