<title>CSS3 Animation</title>
background-color: orange;
@-webkit-keyframes myShorthand {
from { transform: rotate(-45deg); }
to { transform: rotate(45deg); }
from { transform: rotate(-45deg); }
to { transform: rotate(45deg); }
-webkit-animation-name: myShorthand;
-webkit-animation-duration: 3s;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-delay: 1s;
-webkit-animation-iteration-count: 3;
-webkit-animation-direction: reverse;
animation-name: myShorthand;
animation-timing-function: ease-in-out;
animation-iteration-count: 3;
animation-direction: reverse;
-webkit-animation: myShorthand 3s ease-in-out 1s 3 reverse;
animation: myShorthand 3s ease-in-out 1s 3 reverse;
<h1>animation 속성을 이용한 축약 표현</h1>
<div id="long">6개의 속성</div>
<div id="short">animation 속성</div>