HTML动画与轮播图
1.轮播图
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>轮播图</title>
</head>
<style type="text/css">
.wrap{
width: 300px;
height: 200px;
border: 5px green solid;
margin: 200px auto;
position: relative;
overflow: hidden;
}
.box{
width: 1500px;
height: 200px;
background-color: red;
position: absolute;
left: 0px;
}
.box div{
width: 300px;
height: 200px;
line-height: 200px;
text-align: center;
color: white;
float: left;