<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<style type="text/css">
.img{
width:1200px;
height:300px;
border:1px solid red;
margin:auto;
}
li{
list-style:none;
float:left;
margin-left:15px;
-webkit-transform-style:preserve-3d;-webkit-transition:1.5s;
-moz-transform-style:preserve-3d;-moz-transition:1.5s;
}
li:hover{
-webkit-transform:rotateY(180deg);
-moz-transform:rotateY(180deg);
}
</style>
<body>
<ul class="img">
<li><img src="data:images/img1.jpg"></li>
<li><img src="data:images/img2.jpg"></li>
<li><img src="data:images/img3.jpg"></li>
<li><img src="data:images/img4.jpg"></li>
</ul>
</body>
</html>