<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
*{
margin:0;
padding:0;
list-style-type: none;
}
img{
vertical-align: midden;
/*去掉图片下方默认的4像素*/
}
.banner{
width:520px;
height:280px;
margin:0 auto;
position:relative;
}
.pic{
width:520px;
height:280px;
position:relative;
}
.pic li{
width:520px;
height:280px;
display:none;
position:absolute;
}
js实现自动轮播图选项卡效果(光标移入暂停)
最新推荐文章于 2022-11-12 22:41:28 发布