Team:Ravenwood Raptors
From 2014hs.igem.org
(Difference between revisions)
TejasManohar (Talk | contribs) |
TejasManohar (Talk | contribs) |
||
Line 28: | Line 28: | ||
/* Navigation */ | /* Navigation */ | ||
+ | nav ul ul { | ||
+ | display: none; | ||
+ | } | ||
+ | nav ul li:hover > ul { | ||
+ | display: block; | ||
+ | } | ||
nav ul { | nav ul { | ||
- | + | background: #efefef; | |
- | + | background: linear-gradient(top, #efefef 0%, #bbbbbb 100%); | |
- | + | background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); | |
- | + | background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); | |
- | + | box-shadow: 0px 0px 9px rgba(0,0,0,0.15); | |
- | + | padding: 0 20px; | |
- | + | border-radius: 10px; | |
- | + | list-style: none; | |
- | + | position: relative; | |
- | + | display: inline-table; | |
+ | } | ||
+ | nav ul:after { | ||
+ | content: ""; clear: both; display: block; | ||
} | } | ||
nav ul li { | nav ul li { | ||
Line 71: | Line 80: | ||
<li><a href="#">Notebook</a></li> | <li><a href="#">Notebook</a></li> | ||
<li><a href="#">Sponsors</a></li> | <li><a href="#">Sponsors</a></li> | ||
- | |||
</ul> | </ul> | ||
</nav> | </nav> |
Revision as of 14:58, 5 April 2014