Html
    Css
    Js

    
                        
* {
	margin:0px;
	padding:0;
}
.box {
	width:600px;
	float:left;
	margin:100px;
}
.top {
	width:578px;
	height:30px;
	line-height:30px;
	font-size:12px;
	padding-left:10px;
	padding-right:10px;
	border:solid 1px #666;
}
.pre,.next {
	cursor:pointer;
}
.red {
	width:128px;
	height:96px;
	background:red;
}
.green {
	width:128px;
	height:96px;
	background:green;
}
.blue {
	width:128px;
	height:96px;
	background:blue;
}
.bottom {
	width:598px;
	height:160px;
	border:solid 1px #666;
	border-top:none;
	position:relative;
	overflow:hidden;
}
.bottom_move {
	width:2500px;
	position:absolute;
	top:0px;
	left:0px;
}
.bottom_move ul {
	list-style-type:none;
	float:left;
}
.bottom_move ul li {
	float:left;
	margin:10px 3px 0;
	padding:8px;
	display:inline;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

滚动简单特效

0