Template:Team:VirtusParva/MainCss
From 2014.igem.org
(Difference between revisions)
Line 106: | Line 106: | ||
.sub-sidemenu {font-size: 10px; margin-bottom: 20px; color: #666; display: none;} | .sub-sidemenu {font-size: 10px; margin-bottom: 20px; color: #666; display: none;} | ||
.sub-sidemenu a {color: #666;} | .sub-sidemenu a {color: #666;} | ||
+ | |||
+ | .slider { | ||
+ | width: 400px; height: 300px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .slider > ul { | ||
+ | /* styled by JS to match the added width and height of all <li>’s */ | ||
+ | position: relative; | ||
+ | -webkit-transition: 0.5s left; | ||
+ | -moz-transition: 0.5s left; | ||
+ | -ms-transition: 0.5s left; | ||
+ | -o-transition: 0.5s left; | ||
+ | |||
+ | list-style: none; | ||
+ | margin: 0; padding: 0; | ||
+ | } | ||
+ | .slider > ul > li { | ||
+ | float: left; | ||
+ | width: 400px; height: 300px; | ||
+ | } | ||
div.underconst | div.underconst |
Revision as of 21:42, 16 October 2014