/

HTML / CSS / JavaScript Tutorial

CSS Property: animation-iteration-count

[this page | pdf | back links]

The CSS (CSS3) animation-iteration-count property specifies the number of times an animation should play.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

number

(integer). Number of times an animation should be played

infinite

Indicates animation should be played an infinite number of times

 

Default Value:

1

JavaScript syntax:

e.g. object.style.animationIterationCount = "infinite";

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile