
搜索框
文章平均质量分 72
erdouzhang
这个作者很懒,什么都没留下…
展开
-
仿淘宝搜索框 -- 输入内容隐藏默认文本
在线演示html:<div id="search"> <input type="text" id="txt"> <label for="txt" id="message">必败的国际大牌</label> <button>搜索</button> </div>css:<style> input, button { /*去除默认样式*/ border: n原创 2017-04-25 16:46:23 · 1688 阅读 · 0 评论 -
普通搜索框
1.点击搜索框隐藏默认文本CSS样式:<style> *{margin: 0; padding: 0;} input,button{border: 0 none;} .search{ width: 281px; height: 37px; border: 1px solid #e7e5e1; margin: 10原创 2017-03-06 15:12:38 · 609 阅读 · 0 评论