Difference between revisions of "Team:TU Darmstadt/Templates/SideBarMenu"
Line 29: | Line 29: | ||
#menuContainer li ul { | #menuContainer li ul { | ||
− | display: | + | display: block; |
− | padding-bottom: | + | padding-bottom: 0px; |
+ | opacity: 0; | ||
+ | max-height: 0; | ||
+ | z-index: 999; | ||
+ | margin-top: 0; | ||
+ | transition: all 0.75s linear; | ||
+ | -webkit-transition: all 0.75s linear; | ||
+ | -moz-transition: all 0.75s linear; | ||
+ | -o-transition: all 0.75s linear; | ||
} | } | ||
+ | #menuContainer > ul li:hover > ul { | ||
+ | display: block; | ||
+ | opacity: 1; | ||
+ | max-height: 999px; | ||
+ | padding-bottom: 10px; | ||
+ | z-index: 2; | ||
+ | } | ||
+ | |||
#menuContainer > ul > li > a { | #menuContainer > ul > li > a { | ||
color: #0d1112; | color: #0d1112; |
Revision as of 21:16, 17 September 2015