js keyframes code example
Example 1: css keyframes
@keyframes mymove {
from {top: 0px;}
to {top: 200px;}
}
Example 2: js keyframe
$ . sleutelframe . define ( {
naam : 'ball-roll' ,
van : {
'transform' : 'rotate (0deg)'
} ,
naar : {
'transform' : 'rotate (360deg)'
}
} ) ;
Example 3: js keyframe
var ondersteundFlag = $ . sleutelframe . isSupported ( ) ;