Team:ZJU-China/Notebook/week1
From 2011.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
/* 首页轮播 */ | /* 首页轮播 */ | ||
- | .slider{ width:950px; height: | + | .slider{ width:950px; height:301px; overflow:hidden; |
background-color:#999} | background-color:#999} | ||
.slider .big{ position:relative;float:left; width:830px; height:300px; padding:0;margin:0; overflow:hidden; border:1px solid #f3f3f3;} | .slider .big{ position:relative;float:left; width:830px; height:300px; padding:0;margin:0; overflow:hidden; border:1px solid #f3f3f3;} | ||
.slider .big ul{ position:absolute; top:0; left:0; width:830px; overflow:hidden;} | .slider .big ul{ position:absolute; top:0; left:0; width:830px; overflow:hidden;} | ||
.slider .big ul li{ float:left; height:300px;} | .slider .big ul li{ float:left; height:300px;} | ||
- | .slider .big img{ display:block; width:830px; height: | + | .slider .big img{ display:block; width:830px; height:300px;} |
.slider .small{ float:right; width:100px; margin-right:0;padding:0;display:inline;padding-top:1px;} | .slider .small{ float:right; width:100px; margin-right:0;padding:0;display:inline;padding-top:1px;} | ||
.slider .small li{ float:left; width:80px; margin:0; display:inline; overflow:hidden;} | .slider .small li{ float:left; width:80px; margin:0; display:inline; overflow:hidden;} |
Revision as of 13:49, 4 October 2011