添加:实验一 导航栏 添加鼠标悬停在对象上时的背景色变化

This commit is contained in:
2025-02-26 16:12:15 +08:00
parent a167b239b1
commit c3d906548b
+6 -1
View File
@@ -37,6 +37,11 @@
border-style: solid; border-style: solid;
} }
.navobj:hover {
background-color: rgb(159, 129, 88);
}
/* 设置 导航栏>注册 对象的背景色 */
#navbar_regobj { #navbar_regobj {
background: rgb(240, 120, 24); background: rgb(240, 120, 24);
} }
@@ -92,7 +97,7 @@
/* 鼠标悬停时下拉菜单内容链接样式 */ /* 鼠标悬停时下拉菜单内容链接样式 */
.dropdown-content a:hover { .dropdown-content a:hover {
background-color: rgb(240, 120, 24); background-color: rgb(159, 129, 88);
} }
/* 鼠标悬停时显示下拉菜单内容 */ /* 鼠标悬停时显示下拉菜单内容 */