We use cookies to improve your experience. Learn more in our Privacy policy.
animation-iteration-count
The number of times an animation sequence should be played before stopping is determined by this CSS property.
Example
Initial value | 1 |
Applies to | all elements in the page |
Syntax
animation-iteration-count: 2;
Values
The animation will repeat infinitely.
The number of times the animation shoould repeat. Negative values are not allowed.
Browser support
animation-iteration-count | 1 | 1 | 3.5 | 1 | 12 | 3 |