更新时间:2023-02-13 20:27:39
您需要在元素渲染到dom后添加类,set timout可能工作
You need to add the class to the element after it is rendered to the dom, a set timout might work
setTimeout(function(){ $articleHTML.addClass("animate"); }, i * 500 );
http://jsfiddle.net/Pz5CD/1/
CSS动画不会在jQuery中的addClass上触发