Difference between revisions of "Team:Carnegie Mellon/navbar"
Line 25: | Line 25: | ||
nav ul li:hover > ul { | nav ul li:hover > ul { | ||
display: block; | display: block; | ||
+ | z-index:5; | ||
} | } | ||
Line 34: | Line 35: | ||
position: relative; | position: relative; | ||
display: inline-table; | display: inline-table; | ||
+ | z-index:5; | ||
} | } | ||
nav ul:after { | nav ul:after { | ||
Line 57: | Line 59: | ||
background: #81df62; border-radius: 0px; padding: 0; | background: #81df62; border-radius: 0px; padding: 0; | ||
position: absolute; top: 100%; | position: absolute; top: 100%; | ||
+ | z-index:5; | ||
} | } | ||
nav ul ul li { | nav ul ul li { | ||
Line 63: | Line 66: | ||
border-bottom: 1px solid #575f6a; | border-bottom: 1px solid #575f6a; | ||
position: relative; | position: relative; | ||
+ | z-index: 5; | ||
} | } | ||
nav ul ul li a { | nav ul ul li a { | ||
Line 74: | Line 78: | ||
nav ul ul ul { | nav ul ul ul { | ||
position: absolute; left: 100%; top:0; | position: absolute; left: 100%; top:0; | ||
+ | z-index: 5; | ||
} | } | ||
Revision as of 04:18, 12 June 2015