Animation iteration count

noun

say it: “an-ih-MAY-shun it-er-AY-shun KOWNT” /ˌænɪˈmeɪʃən ˌɪtəˈreɪʃən kaʊnt/

The CSS property that sets how many times an animation plays, such as 1, 3, or infinite for forever.

What does animation-iteration-count do?

animation-iteration-count sets how many times an animation plays. infinite keeps it going.

.loading-spinner { animation-iteration-count: infinite; }

In a sentence

  • “With an animation-iteration-count of 3, the bell icon rings three times and then stops.”

Level: Journeyman · More CSS terms at this level

Updated