# Animation name

*noun*

say it: **“an-ih-MAY-shun NAYM”** **/ˌænɪˈmeɪʃən neɪm/**

The CSS property that picks which @keyframes animation an element plays, using the name the @keyframes rule was given.

## What does `animation-name` do?

`animation-name` picks which `@keyframes` animation an element plays.

```css
.spinner { animation-name: spin; animation-duration: 1s; }
```

## In a sentence

- “I set the **animation-name** to pulse, matching the @keyframes pulse rule above it.”

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-name
