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.

.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

Updated