Template:Menu
From 2012.igem.org
(Difference between revisions)
Line 21: | Line 21: | ||
#menu{position:absolute} | #menu{position:absolute} | ||
#menu ul{list-style:none;margin-bottom:65px} | #menu ul{list-style:none;margin-bottom:65px} | ||
- | #menu ul li {overflow:hidden;margin-left:1px;display:block;background:#222;height:30px;width: | + | #menu ul li {overflow:hidden;margin-left:1px;display:block;background:#222;height:30px;width:122px;text-align:center;float:left;-webkit-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;} |
#menu ul li:hover {background:#666;} | #menu ul li:hover {background:#666;} | ||
#menu ul li a{color:#fff;text-decoration:none;display:table-cell;vertical-align:middle;text-align:center;height:30px;width:252px;} | #menu ul li a{color:#fff;text-decoration:none;display:table-cell;vertical-align:middle;text-align:center;height:30px;width:252px;} |
Revision as of 21:06, 26 September 2012