Template:CSS/js-image-slider
From 2014.igem.org
(Difference between revisions)
(31 intermediate revisions not shown) | |||
Line 5: | Line 5: | ||
- | . | + | .slider2{ |
- | + | width:1032px; | |
- | + | height:384px; | |
- | + | position:absolute; | |
- | + | left:300px; | |
- | + | top:96px; | |
- | + | ||
} | } | ||
+ | |||
+ | |||
/* LAYOUT */ | /* LAYOUT */ | ||
- | . | + | .container3 { |
margin:0 auto; | margin:0 auto; | ||
overflow:hidden; | overflow:hidden; | ||
- | width: | + | width:1032px; |
+ | height:384px; | ||
+ | position:absolute; | ||
+ | top:0px; | ||
+ | left:0px; | ||
} | } | ||
/* CONTENT SLIDER */ | /* CONTENT SLIDER */ | ||
#content-slider { | #content-slider { | ||
- | + | width:100%; | |
- | + | height:384px; | |
- | + | position:absolute; | |
+ | top:0px; | ||
+ | left:0px; | ||
+ | |||
} | } | ||
/* SLIDER */ | /* SLIDER */ | ||
#slider { | #slider { | ||
- | + | ||
- | + | ||
- | + | height:384px; | |
- | + | width:1032px; | |
- | height: | + | |
- | width: | + | |
margin:40px auto 0; | margin:40px auto 0; | ||
overflow:hidden; | overflow:hidden; | ||
- | + | position:absolute; | |
+ | top:-50px; | ||
+ | left:0px; | ||
+ | |||
} | } | ||
#mask { | #mask { | ||
overflow:hidden; | overflow:hidden; | ||
- | height: | + | height:384px; |
+ | |||
} | } | ||
#slider ul { | #slider ul { | ||
Line 49: | Line 60: | ||
} | } | ||
#slider li { | #slider li { | ||
- | width: | + | width:1032px; |
- | height: | + | height:384px; |
position:absolute; | position:absolute; | ||
- | |||
list-style:none; | list-style:none; | ||
} | } |
Latest revision as of 11:15, 13 September 2014