From c3d906548b7a7361418f802461bc5ba21422cb11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E6=98=B4?= Date: Wed, 26 Feb 2025 16:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=EF=BC=9A=E5=AE=9E=E9=AA=8C?= =?UTF-8?q?=E4=B8=80=20=E5=AF=BC=E8=88=AA=E6=A0=8F=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=BC=A0=E6=A0=87=E6=82=AC=E5=81=9C=E5=9C=A8=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E4=B8=8A=E6=97=B6=E7=9A=84=E8=83=8C=E6=99=AF=E8=89=B2=E5=8F=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homework1/index.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/homework1/index.css b/homework1/index.css index 7eabb31..2302a89 100644 --- a/homework1/index.css +++ b/homework1/index.css @@ -37,6 +37,11 @@ border-style: solid; } +.navobj:hover { + background-color: rgb(159, 129, 88); +} + +/* 设置 导航栏>注册 对象的背景色 */ #navbar_regobj { background: rgb(240, 120, 24); } @@ -92,7 +97,7 @@ /* 鼠标悬停时下拉菜单内容链接样式 */ .dropdown-content a:hover { - background-color: rgb(240, 120, 24); + background-color: rgb(159, 129, 88); } /* 鼠标悬停时显示下拉菜单内容 */