Menu Samaritan's Purse

ANIMATION-ITERATION-COUNT

The animation-iteration-count property specifies the number of times an animation cycle is played.

SYNTAX

CSS

animation-iteration-count: value;

JS

object.style.animationIterationCount = "value";

VALUES

<'animation-iteration-count'> = <single-animation-iteration-count>#
<single-animation-iteration-count> = infinite | <number>
infinite

The animation will repeat forever.

<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

INITIAL

1

EXAMPLES

INFINITE

NUMBER

JS

INTERNAL

animation

animation-delay

animation-direction

animation-duration

animation-fill-mode

animation-name

animation-play-state

animation-timing-function

EXTERNAL

World Wide Web Consortium (W3C)