New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →


Defines how many times the animation is played.

default animation-iteration-count: 1;

The animation will only play once.

animation-iteration-count: 2;

You can use integer values to define a specific amount of times the animation will play.

animation-iteration-count: infinite;

By using the keyword infinite, the animation will play indefinitely.