웹프로그래밍/Javascript

jQuery Animation Rotate

jihun202 2015. 5. 6. 10:06
반응형
$({deg: 0}).animate({deg: d},{
     duration: cf.duration,
     step: function(now) {
      ev.css({
       transform: 'rotate(' + now + 'deg)'
      });
     }
    });

 

반응형