Template:CSS/js-image-slider
From 2014.igem.org
(Difference between revisions)
(11 intermediate revisions not shown) | |||
Line 11: | Line 11: | ||
left:300px; | left:300px; | ||
top:96px; | top:96px; | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* LAYOUT */ | /* LAYOUT */ | ||
Line 29: | Line 21: | ||
overflow:hidden; | overflow:hidden; | ||
width:1032px; | width:1032px; | ||
+ | height:384px; | ||
position:absolute; | position:absolute; | ||
top:0px; | top:0px; | ||
Line 36: | Line 29: | ||
/* CONTENT SLIDER */ | /* CONTENT SLIDER */ | ||
#content-slider { | #content-slider { | ||
- | + | width:100%; | |
- | + | height:384px; | |
- | position: | + | position:absolute; |
top:0px; | top:0px; | ||
left:0px; | left:0px; | ||
Line 45: | Line 38: | ||
/* SLIDER */ | /* SLIDER */ | ||
#slider { | #slider { | ||
- | + | ||
height:384px; | height:384px; | ||
Line 51: | Line 44: | ||
margin:40px auto 0; | margin:40px auto 0; | ||
overflow:hidden; | overflow:hidden; | ||
+ | position:absolute; | ||
+ | top:-50px; | ||
+ | left:0px; | ||
} | } |
Latest revision as of 11:15, 13 September 2014