Html
    Css
    Js


* {
	margin:0;
	padding:0;
	list-style:none;
}
img {
	width:100%;
}
.lunbo {
	width:500px;
	height:300px;
	margin:0 auto;
	position:relative;
	overflow:hidden;
}
.lunbo .lunbo-imgs {
	position:absolute;
	z-index:10;
}
.lunbo .lunbo-imgs li {
	height:300px;
	overflow:hidden;
}
.lunbo .lunbo-num {
	position:absolute;
	z-index:11;
	bottom:10px;
	left:45%;
}
.lunbo .lunbo-num li {
	float:left;
	background:white;
	color:#333333;
	padding:2px 6px;
	margin-left:10px;
}
.lunbo .lunbo-num li.current {
	background:red;
}

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

jQuery轮播图代码

0