animation-iteration-count
Introduction
animation-iteration-count property specifies the number of times an animation should be played.
Examples

Syntax
Values
infinite
The animation will repeat forever.
<number>
The number of times the animation should repeat. Can be a non-integer value. A value of 0 will cause the animation to have no effect.
Info
When animation-iteration-count is 0, Lynx will treat it as an animation with duration 0, and its lifetime will continue as usual. This differs from standard CSS animations where it would be treated as if the animation didn't work at all.
Formal definition
| Initial value | 1 |
| Applies to | all elements |
| Inherited | no |
| Animatable | no |
Formal syntax
See also
- animation
- animation-name
- animation-duration
- animation-timing-function
- animation-delay
- animation-iteration-count
- animation-direction
- animation-fill-mode
- animation-play-state
- CSS animation event
- Animated API
Compatibility
LCD tables only load in the browser