Style animationIterationCount Property
Changing the animationIterationCount property of a <div> element:
Try it yourself »
Definition and Usage
The animationIterationCount property sets or returns how many times an animation should be played.
The animationIterationCount property is only supported in Firefox.
Return the animationIterationCount property:
Set the animationIterationCount property:
|number||A number that defines how many times an animation should be played. Default value is 1|
|infinite||Specifies that the animation should be played infinite times (for ever)|
|initial||Sets this property to its default value. Read about initial|
|inherit||Inherits this property from its parent element. Read about inherit|
|Return Value:||A String, representing the animation-iteration-count property of an element|
CSS reference: animation-iteration-count property
Thank You For Helping Us!
Your message has been sent to W3Schools.