我编写了代码来翻转然后增加图像的宽度和大小:
$(obj).animate({"left": "-=40px","opacity": "0.65"},"slow");
$(obj).animate({"height":"600px","width":"320px"},70);
alert('1');
//$(obj).css("-webkit-backface-visibility","hidden");
$(obj).css("-webkit-transform-style","preserve-3d");
$(obj).css("-webkit-transition","all 1.0s linear");
$(obj).css("transform-style","preserve-3d");
$(obj).css("transition","all 1.0s linear");
$(obj).css("-webkit-transform","rotateY(180deg)");
$(obj).css("transform","rotateY(180deg)");
alert('2');
首先,我想调整大小,然后执行翻转动画代码。在这里,首先css()
执行然后调整图像大小。我怎么css()
在这里耽搁?