<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		#carousel {
			width: 1000px;
			height: 500px;
			background: #ccc;
			overflow: hidden;
			position: relative;
		}

		.imgs {
			width: 5000px;
			height: 500px;
			position: absolute;
			left: 0;
			transition: all .5s linear;
		}

		.a-img-box {
			width: 1000px;
			height: 500px;
			float: left;
		}
		.a-img-box img {
			width: 100%;
			height: 100%;
		}
	</style>
</head>
<body>
	<div id="carousel">
		<d