Line 5: | Line 5: | ||
− | + | #colorNav li ul{ | |
− | + | position:absolute; | |
− | + | list-style:none; | |
+ | text-align:center; | ||
+ | width:180px; | ||
+ | left:50%; | ||
+ | margin-left:-90px; | ||
+ | top:30px; | ||
+ | font:bold 12px 'Open Sans Condensed', sans-serif; | ||
− | + | /* This is important for the show/hide CSS animation */ | |
− | + | max-height:0px; | |
− | + | overflow:hidden; | |
− | + | border-radius: 30px; | |
− | + | -webkit-transition:max-height 0.4s linear; | |
− | + | -moz-transition:max-height 0.4 linear; | |
− | + | transition:max-height 0.4 linear; | |
− | + | ||
− | + | ||
} | } | ||
− | + | #colorNav li:hover ul{ | |
− | + | max-height:500px; | |
− | + | ||
} | } | ||
− | + | #colorNav li ul li{ | |
− | # | + | background-color:#369799; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | #colorNav | + | #colorNav li ul li a{ |
− | + | padding:12px; | |
− | + | color:#fff !important; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
text-decoration:none !important; | text-decoration:none !important; | ||
− | + | display:block; | |
− | + | ||
+ | |||
} | } | ||
Revision as of 17:08, 3 October 2016