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.

Quick example

.marquee:hover {
  /* Pauses the scrolling text when the mouse is over it */
  animation-play-state: paused;
}

Quick facts

Initial value
running
Inherited
No
Applies to
all elements and pseudo-elements
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+
ESC