Easy Tutorial
❮ Css3 Pr Box Shadow Css Colornames ❯

CSS3 animation-iteration-count Property

Example

Play the animation three times:


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Numbers followed by -webkit-, -ms-, or -moz- indicate the first version that supported the prefixed property.

Property
animation-iteration-count 43.0 <br>4.0 -webkit- 10.0 16.0 <br>5.0 -moz- 9.0 <br>4.0 -webkit- 30.0 <br>15.0 -webkit- <br>12.0 -o-

Definition and Usage

The animation-iteration-count property specifies the number of times an animation should be played.

Default value: 1
Inherited: no
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.animationIterationCount=3
--- ---

Syntax

Value Description Test
n A number specifying how many times an animation should be played Test »
infinite Specifies that the animation should be played infinite times (forever) Test »

Related Articles

CSS3 Tutorial: CSS3 Animations

❮ Css3 Pr Box Shadow Css Colornames ❯