问题
I would like to increase the width of a bar with a CSS transition but don't like to trigger it with a hover event ( like http://jsfiddle.net/TFHn9/ )
I just would like to have an instant animation (when the page loads) - without Javascript of course.
Any chance to achieve that?
回答1:
Css3 keyframes: http://coding.smashingmagazine.com/2011/05/17/an-introduction-to-css3-keyframe-animations/
来源:https://stackoverflow.com/questions/10995039/trigger-transitions-without-javascript-in-css-on-page-load