亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

微博輸入框作業(yè)

原創(chuàng) 2019-01-13 20:52:18 257
摘要:<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">&

批注 2019-01-13 205157.jpg

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta http-equiv="X-UA-Compatible" content="ie=edge">

<title>Document</title>

<style>

/* 先劃分頂部中部底部三部分,再適當(dāng)使用左右浮動(dòng)可以一定程度上降低外邊距和內(nèi)邊距的使用,在最后微調(diào)時(shí)再使用內(nèi)外邊距,整體布局會(huì)更模塊化 */

body{font-size: 12px;}

.box{margin:0px auto;width:600px;height:210px;border: 9px solid pink;padding: 8px 8px;}

.box_head{padding: 5px 10px;}

.box_head_left{float: left;}

.box_head_right{float:right;padding-top:5px;color:#888;font-size: 15px;}

.box_body textarea{width:590px;height:130px;margin-top: 5px;border: 2px solid #ccc;}

.box_bottom{padding: 5px;}

.box_bottom_left{float: left;}

.box_bottom_right{float:right;}

.bt{width:80px;height:30px;border: none;background-color:peachpuff;color:white;border-radius: 5px;}

#sp1,#sp2,#sp3,#sp4,#sp5,#sp6{float: left;height:32px;line-height: 32px;padding-left:26px;padding-right: 10px}

#sp1{background: url(static/images/an5.png) no-repeat left center;}

#sp2{background: url(static/images/an4.png) no-repeat left center;}

#sp3{background: url(static/images/an3.png) no-repeat left center;}

#sp4{background: url(static/images/an2.png) no-repeat left center;}

#sp5{background: url(static/images/an1.png) no-repeat left center;}

#sp6{color:#888;}

</style>

</head>

<body>

<div class="box">

<div class="box_head">

<div class="box_head_left">

<img src="static/images/12.png" alt="">

</div>

<div class="box_head_right">

<div >還可輸入<span>140</span>字</div>

</div>

</div>

<div class="box_body">

<textarea name="" id=""></textarea>

</div>

<div class="box_bottom">

<div class="box_bottom_left">

<span id="sp1">表情</span>

<span id="sp2">圖片</span>

<span id="sp3">視頻</span>

<span id="sp4">話(huà)題</span>

<span id="sp5">長(zhǎng)微博</span>

</div>

<div class="box_bottom_right">

<span id="sp6">公開(kāi)</span>

<input type="button" value="發(fā)布" class="bt">

</div>

</div>

</div>

</body>

</html>


發(fā)佈手記

熱門(mén)詞條