CSS · Properties — CSS Animations

animation-play-state

The CSS animation-play-state property. Initial value: running. Not inherited.

Syntax
animation-play-state: <single-animation-play-state>#

Example

Try it

Notes

Media: visual. Applies to: allElementsAndPseudos. Computed value: asSpecified.

More in this group

animation-composition animation-delay animation-direction animation-fill-mode animation-timeline animation-timing-function animation-trigger timeline-trigger

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course