<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>右边淡入-站长素材(zzsucai.com)</title>
<style>
.div {
width:300px;
height:200px;
margin:100px auto;
background:url(images/zzsucai.png)
}
#animation {
-webkit-animation:fadeInRight 1s .2s ease both;
-moz-animation:fadeInRight 1s .2s ease both;
@-webkit-keyframes fadeInRight {
0% {
opacity:0;
-webkit-transform:translateX(20px)
100% {
opacity:1;
-webkit-transform:translateX(0)
@-moz-keyframes fadeInRight {
-moz-transform:translateX(20px)
-moz-transform:translateX(0)
</style>
</head>
<body>
<div id="animation" class="div"></div>
</body>
</html>