头部样式修改

virtual
15008401624 2020-12-01 09:16:27 +08:00
parent 47948c6864
commit 55a66cbd72
2 changed files with 3 additions and 2 deletions

View File

@ -49,6 +49,7 @@ input,select,textarea{outline:medium none; resize: none;}
/*nav*/ /*nav*/
/**/ /**/
.nav{ width: 72%;}
.nav ul li{ float: left; position: relative; margin-left: 20px; transition: all .6s;} .nav ul li{ float: left; position: relative; margin-left: 20px; transition: all .6s;}
.nav ul li span a{ float: left; font-size: 1.125rem; line-height: 5.9375rem; padding: 0 16px; position: relative; text-decoration: none; color: #fff;} .nav ul li span a{ float: left; font-size: 1.125rem; line-height: 5.9375rem; padding: 0 16px; position: relative; text-decoration: none; color: #fff;}
.nav ul li span a::before{ content: ''; width: 0; height: 4px; position: absolute; left: 0; bottom: 0; background: #F9BE3E; transition: all .6s; opacity: 0;} .nav ul li span a::before{ content: ''; width: 0; height: 4px; position: absolute; left: 0; bottom: 0; background: #F9BE3E; transition: all .6s; opacity: 0;}

View File

@ -52,9 +52,9 @@ function getMenus($menus, $level = 1, $currentFirstId, $categoryId) {
{:getMenus($menus, 1, $currentFirstId, $categoryId)} {:getMenus($menus, 1, $currentFirstId, $categoryId)}
</ul> </ul>
</div> </div>
<div class="language"> <!-- <div class="language">
<a href="" class="active">中文</a> / <a href="">English</a> <a href="" class="active">中文</a> / <a href="">English</a>
</div> </div> -->
<div class="nav_btn"> <div class="nav_btn">
<i class="bar-top"></i> <i class="bar-top"></i>
<i class="bar-cen"></i> <i class="bar-cen"></i>