Pretty impressive, but a little kludgy. Sample CSS:
/* Rotates a leaf from -50 to 50 degrees in 2D space */
@-webkit-keyframes clockwiseSpin
{
/* Rotate a leaf by -50 degrees in 2D space at the start of the animation */
0% { -webkit-transform: rotate(-50deg); }
/* Rotate a leaf by 50 degrees in 2D space at the end of the animation */
100% { -webkit-transform: rotate(50deg); }
}
We’ll see this in IE29.
(via)












No comments
Jump to comment form | Comments RSS | Trackback URI