1.对象,里面穿需要动画的样式
2.speed执行动画时间
3.执行动画效果
4.回调函数
$('#box').animate({left:800,top:800},8000,"swing",function(){console.log('123')});
参数只有第一个必填
1.对象,里面穿需要动画的样式
2.speed执行动画时间
3.执行动画效果
4.回调函数
$('#box').animate({left:800,top:800},8000,"swing",function(){console.log('123')});
参数只有第一个必填