CSS3 transitions to dynamically created elements
问题 I'm trying to animate a dynamically created html element with CSS3 transitions . I want the animation to start just before the element is created. For these i create a class that set the original position of the element and then I set the target position by the jquery css() method But the new element it just apears in the target position without any transition. If I use a setTimeout of 0ms to set the new css value it work. There is something I'm doing wrong? or is a limitation? I don't think