Html
    Css
    Js

    
                        
 * {
	padding:0;
	margin:0;
}
li {
	list-style:none;
}
.box {
	width:800px;
	height:300px;
	border:1px solid red;
	margin:80px auto;
	position:relative;
}
.box_wheel {
	width:800px;
	height:300px;
	overflow:hidden;
}
.btn {
	width:50px;
	height:60px;
	background:bisque;
	line-height:60px;
	text-align:center;
	color:red;
	font-size:30px;
	cursor:pointer;
}
.btn_left {
	position:absolute;
	left:-60px;
	top:50%;
	margin-top:-30px;
}
.btn_right {
	position:absolute;
	right:-60px;
	top:50%;
	margin-top:-30px;
}
.box_ul {
	height:300px;
}
.box_ul li {
	width:260px;
	height:300px;
	margin-right:10px;
	float:left;
	line-height:300px;
	text-align:center;
}

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

jQuery li标签轮播

更新时间:2019-09-25 08:55:24

记得引入jquery

0