body{background-color: #eee;}
h1{text-align: center;}
.container{width: 900px;
height: 450px;
margin: 60px auto;
position: relative; }
img{width: 200px;
height: 200px;
padding: 10px 10px 15px 10px;
background-color: white;
border: 1px solid #ddd;
position: absolute;
transition: 1s;
z-index: 1;
}
img:hover{-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
transform: scale(1.2);
box-shadow: 10px 10px 15px #ccc;
z-index: 2;}
.pic1{top: 45px; left: 100px; -webkit-transform: rotate(20deg);-moz-transform: rotate(20deg);transform: rotate(20deg);}
.pic2{top: 70px; left: 220px; -webkit-transform: rotate(20deg);-moz-transform: rotate(20deg);transform: rotate(20deg);}
.pic3{top: 13px; left: 310px; -webkit-transform: rotate(20deg);-moz-transform: rotate(20deg);transform: rotate(20deg);}
.pic4{top: 23px; left: 400px; -webkit-transform: rotate(20deg);-moz-transform: rotate(20deg);transform: rotate(20deg);}
.pic5{top: 53px; left: 490px; -webkit-transform: rotate(20deg);-moz-transform: rotate(20deg);transform: rotate(20deg);}
.pic6{top: 32px; left: 580px; -webkit-transform: rotate(20deg);-moz-transform: rotate(20deg);transform: rotate(20deg);}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>CSS 效果墙</title>
<link rel="stylesheet" type="text/css" href="cssWall.css">
</head>
<body>
<h1>效果墙</h1>
<div class="container">
<img class="pic1" src="1 (1).jpg" />
<img class="pic2" src="1 (2).jpg" />
<img class="pic3" src="1 (3).jpg" />
<img class="pic4" src="1 (4).jpg" />
<img class="pic5" src="1 (5).jpg" />
<img class="pic6" src="1 (6).jpg" />
</div>
</body>
</html>