第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

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

想在登陸和注冊按鈕中間插一個水平線,感覺應該用<hr/>標簽,卻怎么都弄不對,<hr/>標簽也能設定CSS樣式嗎


<!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>
blockquote,?body,?button,?dd,?dl,?dt,?fieldset,?form,?h1,?h2,?h3,?h4,?h5,?h6,?hr,?input,?legend,?li,?ol,?p,?pre,?td,?textarea,th,?ul{
margin:?0;
padding:?0;
}
body{
width:300px;
}
input{
????width:190px;
????height:25px;
????margin-left:20px;
????margin-bottom:10px;
}
input::-webkit-input-placeholder?{
????padding-left:20px;
}
input:-moz-placeholder?{
????padding-left:20px;
}
input:-ms-input-placeholder?{
????padding-left:20px;
}
#auto{
????width:10px;
????display:inline;
????float:left;
????margin:0?0?0?20px;
????height:25px;
}
a{
???display:inline;
???float:right;
???height:25px;
???text-decoration:none;
???font-size:12px;
???margin-top:4px;
???margin-right:80px;
}
span{
????display:inline;
????float:left;
????height:25px;
????vertical-align:middle;
????font-size:12px;
????margin-top:4px;
????margin-left:2px;
}
.login?i{
????display:inline;
????width:190px;
????height:38px;
????float:left;
????background:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg);
????background-position:0?0;
????margin-left:20px;
????margin-bottom:12.5px;
}
.regirst?i{
????display:inline;
????width:190px;
????height:36px;
????float:left;
????background:url(http://img1.sycdn.imooc.com//539a972b00013e9102280177.jpg);
????background-position:0?-40px;
????margin-top:12.5px;
????margin-left:20px;
????outline-top:1px?solid?#C00;
}
</style>
</head>
<body>
<div?class="index">
??<form>
????<input?type="text"?id="user"?name="user"?placeholder="郵箱/手機號/用戶名"?required?=?"required">
????</form>
????<form>
????<input?type="password"?id="psd"?name="psd"?placeholder="請輸入密碼"?required?=?"required">
????</form>
????<form>
????????<input?type="checkbox"?id="auto"?name="auto"?value="yes"><span>下次自動登陸</span>
????</form>
????<a?href="#">忘記密碼?</a>
????<br>
????<div?class="login">
????????<i></i>
????</div>
????<div?class="regirst">
????????<i></i>
????</div>
????
</div>
</body>
</html>

https://img1.sycdn.imooc.com//5bbe33410001982a02490218.jpg

正在回答

1 回答

  1. 可以使用標簽<hr/>,可以設置樣式;

  2. 你也可以為兩個按鈕的其中一個設置上、下邊框實現效果(即你的.login、.regirst);

  3. 還有,你的表單form一個就夠了,沒有必要每一個input都包裹一個form;

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

舉報

0/150
提交
取消

想在登陸和注冊按鈕中間插一個水平線,感覺應該用<hr/>標簽,卻怎么都弄不對,<hr/>標簽也能設定CSS樣式嗎

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

購課補貼
聯系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

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

公眾號

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