CSS animation-iteration-count Property


The number of times an animation should be played.

Syntax

Example

Preview

Property Values

Value Description
number A number that specifies the number of times an animation should be played. The default value is 1.
infinite This specifies that the animation should be played indefinitely.
initial Set this property's value to the default.
inherit This attribute is inherited from its parent element.

Supported Browsers

Element Chrome Firefox Safari Edge / IE Opera
animation-iteration-count 43.0   
4.0 -webkit-
16.0   
5.0 -moz-
9.0   
4.0 -webkit-
10.0 30.0   
15.0 -webkit-   
12.0 -o-