Difference between revisions of "Team:Jilin China/Navbar CSS"

Line 116: Line 116:
  
 
/*滚动后navbar样式*、
 
/*滚动后navbar样式*、
.navbar_scrolled{
+
.navbar.navbar_scrolled{
 
height:3rem;
 
height:3rem;
 
background:rgba(255,255,255,1);
 
background:rgba(255,255,255,1);
 
box-shadow:0 0 2rem rgba(0,0,0,0.1);
 
box-shadow:0 0 2rem rgba(0,0,0,0.1);
 
}
 
}
.navbar_scrolled ul a{
+
.navbar.navbar_scrolled ul a{
 
height:3rem;
 
height:3rem;
 
 
 
 
 
}
 
}
.navbar_scrolled .navbottom li a {
+
.navbar.navbar_scrolled .navbottom li a {
 
color:black;
 
color:black;
 
 
Line 133: Line 133:
 
 
 
}
 
}
.navbar_scrolled ul li > a{
+
.navbar.navbar_scrolled ul li > a{
 
line-height:3rem;
 
line-height:3rem;
 
}
 
}
.navbar_scrolled ul > li{
+
.navbar.navbar_scrolled ul > li{
 
height:3rem;
 
height:3rem;
 
}
 
}
.navbar_scrolled .logo{
+
.navbar.navbar_scrolled .logo{
 
height:0
 
height:0
 
}
 
}

Revision as of 22:48, 25 September 2018