Html
    Css
    Js

    
                        
* {
	margin:0px;
	padding:0px;
	list-style:none;
}
.zong {
	margin:0 auto;
	overflow:hidden;
}
.kuang {
	width:300px;
	height:300px;
}
.lun {
	position:relative;
	width:1500px;
	/* 5个li的宽度和 */
}
.lun li {
	float:left;
	display:inline-block;
	width:300px;
	height:300px;
}
.se1 {
	background:#ffff00;
}
.se2 {
	background:#55557f;
}
.se3 {
	background:#ff00ff;
}
.se4 {
	background:#55ffff;
}
.se5 {
	background:#aa0000;
}
.dots {
	text-align:center;
	margin-top:10px;
}
.dot {
	display:inline-block;
	width:20px;
	height:20px;
	background:#333;
	border-radius:50%;
	margin:0 10px;
	cursor:pointer;
}
.dot.active { 
	background:#aa0000;
}

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

jq自动轮播图

更新时间:2024-04-18 00:12:19

0