自动和手动轮播显示3张图片
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>js创建轮播</title>
<style>
*{
margin:0;
padding:0;
list-style: none;
}
#box{
border:3px solid red;
position: relative;
top:200px;
margin:auto;
overflow: hidden;
height:300px;
width:980px;
}
#left,#right{
width:40px;
height:40px;
background-color: #ff4332;
border-radius: 20px;
text-align: center;
line-height: 40px;
color:white;
cursor: pointer;
position: absolute;
top:130px;
}
#left{
float:left;
left:0;
}
#right{
float:right;
right:0;
}
.myL