CSS animation-play-state property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS animation-play-state property represents whether the animation is in a running or paused state.
Syntax
animation-play-state : running | paused
Property values
paused
-
When animation is paused, it continues applying property values that it made before pausing the animation (pausing the animation-duration or animation-delay).
When it is switched to running state, the animation starts its execution at the time interval (animation-duration or animation-delay resumes) where it was left off.
- Try it
animation-play-state: paused;
Applicable to
It applies to all elements