The animation-iteration-count property in CSS is used to specify the number of times the animation will be repeated. It can specify as infinite to repeat the animation indefinitely.
- number: This property value is used to define the number of times an animation should be played. The default value is 1.
- infinite: This property value specifies that the animation should be played infinite times (for ever).
- initial: This property value is used to set this property to its default value.
- inherit: This value is used to inherit this property from its parent element.
Example: HTML program to illustrate animation-iteration-count
Supported Browser: The browser supported by animation-iteration-count property are listed below:
- Google Chrome 43.0
- Internet Explorer 10.0
- Firefox 16.0
- Opera 30.0
- Safari 9.0
- HTML | DOM Style animationIterationCount Property
- CSS | transition-property Property
- CSS | top Property
- CSS | all Property
- CSS gap Property
- CSS | nav-down property
- CSS | nav-right property
- CSS | nav-up property
- CSS | right Property
- CSS | bottom Property
- Web API | DOMRectReadOnly x property
- CSS | overflow-x Property
- CSS | min-width Property
- CSS | inset Property
- HTML | DOM URL Property
- HTML | DOM Bdo dir Property
- CSS | box-shadow Property
- HTML | DOM specified Property
- CSS | cursor property
- Express.js req.app Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.