From 21a7852665dc84797530c83fcdf4a3d305936bd6 Mon Sep 17 00:00:00 2001 From: zhidengdeng <2058049662@qq.com> Date: Sun, 14 Jan 2024 13:32:32 +0000 Subject: [PATCH] =?UTF-8?q?update=20assets/css/index.css.=20header?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhidengdeng <2058049662@qq.com> --- assets/css/index.css | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/assets/css/index.css b/assets/css/index.css index 4beb1bf..ceab9cb 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; + } /* ------------------------------------------------- * 主体部分 -- Gitee