jQuery+CSS3小鸟飞翔动画特效
下载次数:1
文件大小:131.68KB
所需积分:0
QQ联系购买积分:3331653644(1元=10积分)
var timer = setInterval(function(){
$(".box > div").animate({
'marginLeft': 1000,
},{
queue:true,
duration:5000,
complete:function a(){
$(".box > div").css('transform','rotateY(180deg)');
}
}).animate({
'marginLeft': 50,
},5000,function(){
$(".box > div").css('transform','rotateY(0deg)');
});
},1000);
适用浏览器:360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。
0 条评论