Team:ZJU-China/Notebook/week1
From 2011.igem.org
(Difference between revisions)
Line 20: | Line 20: | ||
/* 首页轮播 */ | /* 首页轮播 */ | ||
- | .slider{ width: | + | .slider{ width:950px; height:300px; overflow:hidden;} |
- | .slider .big{ float:left; width: | + | .slider .big{ float:left; width:800px; height:300px; padding:0; overflow:hidden; border:1px solid #f3f3f3; } |
- | .slider .bigCon{ position:relative; width: | + | .slider .bigCon{ position:relative; width:800px; height:300px; overflow:hidden;} |
- | .slider .big ul{ position:absolute; top:0; left:0; width: | + | .slider .big ul{ position:absolute; top:0; left:0; width:790px; overflow:hidden;} |
- | .slider .big ul li{ float:left; width: | + | .slider .big ul li{ float:left; width:790px; height:290px;} |
- | .slider .big a, .slider .big img{ display:block; width: | + | .slider .big a, .slider .big img{ display:block; width:790px; height:290px;} |
- | .slider .small{ float:right; width: | + | .slider .small{ float:right; width:150px; margin-left:1px; display:inline;} |
- | .slider .small li{ float:left; width: | + | .slider .small li{ float:left; width:150px; margin:4px 0 5px 7px; display:inline; overflow:hidden;} |
.slider .small li div{ height:34px; border:1px solid #f3f3f3; padding:5px 6px; overflow:hidden;} | .slider .small li div{ height:34px; border:1px solid #f3f3f3; padding:5px 6px; overflow:hidden;} | ||
.slider .small li img{ float:left; width:60px; height:34px;} | .slider .small li img{ float:left; width:60px; height:34px;} | ||
.slider .small li p{ margin-left:72px;} | .slider .small li p{ margin-left:72px;} | ||
- | + | ||
- | + | ||
/* 二级页轮播 */ | /* 二级页轮播 */ | ||
</style> | </style> | ||
- | + | ||
</head> | </head> | ||
Line 119: | Line 118: | ||
timeOut: 5000 | timeOut: 5000 | ||
}); | }); | ||
- | + | ||
}); | }); | ||
</script> | </script> |
Revision as of 07:05, 4 October 2011