$(function(){

  var t = 1000;

  $("#id").animate(

    {borderSpacing:180}, //180 指旋转度数

    {

      step: function(now,fix){

        $(this).css('-webkit-transform','rotate('+now+'deg)');

        $(this).css('-ms-transform','rotate('+now+'deg)');

        $(this).css('-moz-transform','rotate('+now+'deg)');

        $(this).css('-o-transform','rotate('+now+'deg)');

        $(this).css('-transform','rotate('+now+'deg)');

      },durantion:t},'linear')

})

 

相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2022-02-20
  • 2021-12-13
  • 2021-10-23
  • 2022-12-23
  • 2022-01-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-05
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
相关资源
相似解决方案