<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Pictures </title>
<style>
*{
margin:0;
padding:0;
}
div{
width:500px;
height:800px;
Background-image:url (./01.jpg);
margin:0 Auto;
}
#son {
width:300px;
height:454px;
Background:orange;
Float:right;
margin-top:50px;
}
li{
List-style-type:none;
Float:left;
margin-right:1px;
}
img{
width:98px;
}
Li img{
Transform:rotatex ( -135deg) rotate ( -270deg);
}
#fl {
width:100px;
height:200px;
margin:0 Auto;
}
#fl img:hover{
transition-duration:1s; Delay transition//To be differentiated from delay
-moz-transition-duration:1s; /* Firefox 4 * /
-webkit-transition-duration:1s; /* Safari and Chrome */
-moz-transform:rotate (360deg) scale (1.5),-webkit-transform:rotate (360deg) scale (1.5); -moz-transform:rotate (360deg) Firefox rotation angle Scale (1.5): Picture is 1.5 times times larger
}
</style>
<body>
<div>
<div id= "FL" ></div>
<li></li>
</div>
</div>
</body>
Mouse on the picture to achieve the rotation