css3 transform常见动画
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://www.5imoban.net/download/jquery/jquery-1.8.3.min.js"></script>
<title>css3 transform动画</title>
<style>
.transform,.transform2,.transform3,.transform4,.transform5{width:100px;height: 50px;background: #ccc;-webkit-transition:all 1s ease-in-out;margin-bottom: 10px;}
.transform:hover{-webkit-transform: rotate(360deg);}
.transform2:hover{-webkit-transform: skew(-20deg);}
.transform3:hover{-webkit-transform:scale(2.0)}
.transform4:hover{-webkit-transform:translate(100px,0)}
.transform5:hover{-webkit-transform:skew(30deg)}
</style>
<script>
</script>
</head>
<body>
<div class="transform"></div>
<div class="transform2"></div>
<div class="transform3"></div>
<div class="transform4"></div>
<div class="transform5"></div>
</body>
</html>