js代码
<script type="text/javascript">
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);
</script>
在线预览
资源均来自第三方,谨慎下载,前往第三方网站下载


