I was used to animating elements with JavaScript. I found it simpler to do it with CSS3.
Using JavaScript how can you detect when a CSS animation has started and when it has ended? Is there any way at all?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…