CSS property: -webkit-animation-iteration-count

Description

Specifies the number of times an animation iterates.

This property is often used with a -webkit-animation-direction property set to alternate, which causes the animation to play in reverse on alternate iterations.

Syntax

-webkit-animation-iteration-count: <number> [, …];

Values

<number>

The number of iterations. If 1, the animation plays from beginning to end once. A value of infinite causes the animation to repeat forever. Noninteger values cause the animation to end partway through an interation. Negative values are invalid.

1 (by default)The default value is 1.
infiniteRepeats the animation forever.

Versions