animation-play-state
Allows you to pause and resume a running animation. Typically used in combination with :hover or JavaScript to freeze an animation when a user interacts with it.
Usage example
.marquee:hover {
/* Pauses the scrolling text when the mouse is over it */
animation-play-state: paused;
} Initial value
running
Inherited
No
Applies to
allElementsAndPseudos
Animation type
notAnimatable
animation-play-state Browser Support
Widely available Since 2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
Safe to use without fallbacks.
43+
16+
9+
12+