CSS animation-iteration-count property
CSS animation-iteration-count property represents the number of times an animation cycle repeats itself.
animation-iteration-count : +ve value | infinite
A positive integer represents the number of times an animation cycle repeats itself.
'1' means the animation completes its cycle only once from beginning to end.
+ve fractional value
If there is a fractional value, the animation cycles repeat themselves completely for an integral part and partially for the fractional part. 1.5 means one and half of the cycle.
The animation cycle repeats itself forever.
It applies to all elements
Was this article helpful?