Przeglądaj źródła

头部搜索增加搜索帮助中心,搜索框也不默认隐藏

Chente 9 lat temu
rodzic
commit
28399321e5
2 zmienionych plików z 4 dodań i 0 usunięć
  1. 3 0
      css/global.css
  2. 1 0
      index3.html

+ 3 - 0
css/global.css

@@ -2215,6 +2215,9 @@ border:none
 .search-bar .search-submit:hover{
   background:#ff8130;
 }
+.search-bar select{
+  border:1px solid #fff
+}
 .header-search .search-icon{
   width:24px;
   height:24px;

+ 1 - 0
index3.html

@@ -84,6 +84,7 @@
 			<div class="header-search">
 				<a class="search-icon" title="展开搜索框"></a>
 				<div class="search-bar hide">
+					<select><option>帮助中心</option><option>文章</option><option>产品</option></select>
 					<input tyoe="text" class="search-input" placeholder="输入搜索内容">
 					<input value="搜索" type="submit" class="search-submit">
 				</div>