HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

animation-iteration-count

Description

The animation-iteration-count property for CSS 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

1 · infinite

2 · number

3 · JS