HTML如何實(shí)現(xiàn)騰訊網(wǎng)頁(yè)橢圓搜索框
邯鄲/學(xué)生/7年前/1896瀏覽
版權(quán)
HTML如何實(shí)現(xiàn)騰訊網(wǎng)頁(yè)橢圓搜索框
主要講解如何實(shí)現(xiàn)網(wǎng)頁(yè)搜索框
首先我們打開(kāi)Adobe Dreamweaver CS6網(wǎng)頁(yè)編輯軟件
下面打到源代碼里面
打上搜索框代碼<input type="text" placeholder="請(qǐng)輸入要搜索的內(nèi)容"><input type="button" value="搜 索">
下面的代碼打在CSS樣式表里面
[type="text"]{
width:280px;
height:28px;
border:#063 2px solid;
float:left;
margin-top:20px;
border-bottom-left-radius:15px;
border-top-left-radius:15px;
outline:none;}
[type="button"]{
width:53px;
height:30px;
background:#063;
border:none;
margin-top:20px;
border-bottom-right-radius:15px;
border-top-right-radius:15px;
outline:none;
}

7
舉報(bào)
聲明
收藏
分享
評(píng)論你的想法~
表情
喜歡TA的作品嗎?喜歡就快來(lái)夸夸TA吧!
你可能喜歡
登錄注冊(cè)
7登錄即可同步推薦記錄哦
收藏登錄即可加入我的收藏
評(píng)論登錄即可評(píng)論想法
分享分享






































