The "animation-iteration-count" CSS Property

ExperimentalNew in CSS3

This property specifies the number of times an animation cycle is played. Non-integer numbers are allowed but negative values are not. The initial/default value is '1'.

Values for "animation-iteration-count"
CSS LevelValue
CSS 2.1(invalid)
CSS3<single-animation-iteration-count>#, where <single-animation-iteration-count> is "infinite" or <number>

Notes

  • So that animations work in major browsers, be sure to use the "animation-iteration-count" property and the equivalent proprietary properties like "-moz-animation-iteration-count", "-o-animation-iteration-count", and "-webkit-animation-iteration-count" ("-ms-animation-iteration-count" is not needed).

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem