diff --git a/assets/css/index.css b/assets/css/index.css index 4beb1bf44344f993a70875e4db88b9228177604f..ceab9cb7d3cfd8ac28961ec68854c130b8e0e327 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -22,8 +22,48 @@ body { /* ------------------------------------------------- * 头部部分 * ------------------------------------------------- */ -.header { - display: none; } +header { + color: #a1f798; + position:fixed; + background:wheat; + overflow:hidden; + display: block; + z-index:3;} + + nav{ + position:fixed; + top:0; + left:0; + right:0; + bottom:6; + background: #ccc; + + height:50px; + z-index:2; + } + .btn-1 { + background-image: linear-gradient(to right, white 0%,#CE8892 50%, #e4c6d0 100%); + } + .logo{ + font-size: 20px; + font-weight:700; + letter-spacing:5px; + } + .logo a{ + color: #fff; + + } + .active{ + position: relative; + } + .active span{ + position: absolute; + bottom: 5px; + left: 0; + height: 4px; + width: 100%; + background: #fff; + } /* ------------------------------------------------- * 主体部分