<html>
<head>
<style>
div {
width: 100px;
height: 100px;
background: red;
position: relative;
animation: mymove 5s infinite;
}
@keyframes mymove {
from {left: 0px;}
to {left: 200px;}
}
</style>
</head>
<body>
<h1>animation 动画属性</h1>
<p>将元素从 0px 向左移动到 200px。 动画持续 5 秒。 然后它重新开始,并永远(无限)继续下去。</p>
<div></div>
<p><strong>注意:</strong> Internet Explorer 9 及更早版本不支持动画属性 animation。</p>
</body>
</html>