微博输入框样式

原创 2019-02-21 23:20:39 343
摘要:<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">&
<!DOCTYPE html>
<html>

<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">
<style>
*{margin: 0;padding: 0;}
body{font-size: 14px}
.box{width: 550px;height: 200px;border: 10px solid pink;margin: 10px auto;}
#img1{float: left;}
.box1{float: left;margin-left:150px;text-align: right;  width:200px;height: 24px;color: #888}
.box1 span{font-size: 16px;font-weight: bold;}
textarea{width: 530px;height: 130px;border: 1px solid #ccc;margin: 2px 10px ;}
ul #img_1,#img_2,#img_3,#img_4,#img_5,#tx1{float:left; height: 32px;width: 30px;line-height: 32px;padding-left: 24px;font-size: 12px}
#img_1{background: url(images/an5.png) no-repeat left center;}
#img_2{background: url(images/an4.png) no-repeat left center;}
#img_3{background: url(images/an3.png) no-repeat left center;}
#img_4{background: url(images/an2.png) no-repeat left center;}
#img_5{background: url(images/an1.png) no-repeat left center;width: 50px;}
#tx1{margin-left: 100px;color: #888}
#bt1{float: left;width: 80px;height: 30px;border: none;background: #ffc09f;color: #fff;border-radius: 5px;margin-left: 15px;}
</style>
<title>微博输入框</title>
</head>

<body>
<div>

<img src="images/12.png" alt="" id="img1">
<div>还可以输入<span></span>字</div>


<textarea name="" id="" cols="30" rows="10"></textarea>
<ul>
<span id="img_1">表情</span>
<span id="img_2">图片</span>
<span id="img_3">视频</span>
<span id="img_4">话题</span>
<span id="img_5">长微博</span>
<span id="tx1">公开</span>
<button id="bt1">发布</button>
</ul>


</div>
</body>

</html>


发布手记

热门词条