# 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.

```css
.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](https://www.ask-codey.com/glossary?category=css&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/animation-iteration-count
