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); } /* 鼠标悬停时显示下拉菜单内容 */