css.properties

animation-play-state

The animation-play-state property specifies whether an animation is running or paused.

Formal Syntax

<single-animation-play-state>#

See specification

JavaScript Access

// Access via element.style
element.style.animationPlayState = 'running';

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
animation-play-state4316912
paused35412
running35412

Related Properties