Team:Imperial College/Templates/Header
From 2013.igem.org
(Difference between revisions)
Line 353: | Line 353: | ||
height: 0; | height: 0; | ||
} | } | ||
- | ul.navigation-menu > li | + | ul.navigation-menu > li ul li { |
- | + | display: block; | |
- | + | padding: 0; | |
- | + | margin: 0; | |
+ | height: 50px; | ||
-webkit-transition: all 400ms ease; | -webkit-transition: all 400ms ease; | ||
-moz-transition: all 400ms ease; | -moz-transition: all 400ms ease; | ||
Line 362: | Line 363: | ||
-o-transition: all 400ms ease; | -o-transition: all 400ms ease; | ||
transition: all 400ms ease; | transition: all 400ms ease; | ||
- | |||
- | |||
} | } | ||
- | ul.navigation-menu > li:hover | + | ul.navigation-menu > li:hover { |
- | + | background-color: #a3c4e9; | |
- | + | } | |
- | + | ul.navigation-menu > li:hover ul { | |
-webkit-transition: all 400ms ease; | -webkit-transition: all 400ms ease; | ||
-moz-transition: all 400ms ease; | -moz-transition: all 400ms ease; | ||
Line 374: | Line 373: | ||
-o-transition: all 400ms ease; | -o-transition: all 400ms ease; | ||
transition: all 400ms ease; | transition: all 400ms ease; | ||
+ | opacity: 1; | ||
+ | height: auto; | ||
} | } | ||
ul.navigation-menu > li:hover ul li:hover { | ul.navigation-menu > li:hover ul li:hover { |
Revision as of 18:36, 18 August 2013