添加:实验一 导航栏 添加鼠标悬停在对象上时的背景色变化
This commit is contained in:
+6
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 鼠标悬停时显示下拉菜单内容 */
|
/* 鼠标悬停时显示下拉菜单内容 */
|
||||||
|
|||||||
Reference in New Issue
Block a user