Line 55: | Line 55: | ||
padding: 30px; | padding: 30px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ||
− | + | #colorNav li ul li:nth-child(odd){ /* zebra stripes */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | #colorNav li: | + | |
− | + | ||
− | + | ||
− | + | ||
background-color:#369799; | background-color:#369799; | ||
} | } | ||
− | #colorNav li ul li | + | #colorNav li ul li:hover{ |
− | + | background-color:#369741; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
+ | #colorNav li ul li:first-child{ | ||
+ | border-radius:3px 3px 0 0; | ||
+ | margin-top:25px; | ||
+ | position:relative; | ||
} | } | ||
− | + | #colorNav li ul li:first-child:before{ /* the pointer tip */ | |
+ | content:''; | ||
+ | position:absolute; | ||
+ | width:1px; | ||
+ | height:1px; | ||
+ | border:5px solid transparent; | ||
+ | border-bottom-color:#313131; | ||
+ | left:50%; | ||
+ | top:-10px; | ||
+ | margin-left:-5px; | ||
+ | } | ||
Revision as of 17:07, 3 October 2016