This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.
animation-play-state CSS property determines whether an animation is running or paused. This can be queried to determine whether or not the animation is currently running. In addition, its value can be set to pause and resume playback of an animation.
Resuming a paused animation will start the animation from where it left off at the time it was paused, rather than starting over from the beginning of the animation sequence.
- Initial value
- Applies to all elements,
- Inherited no
- Computed value as specified
- Animatable no
- Canonical order the unique non-ambiguous order defined by the formal grammar
animation-play-state: running; animation-play-state: paused; animation-play-state: paused, running, running;
- The animation is currently playing.
- The animation is currently paused.
<single-animation-play-state> = running | paused
See CSS animations for examples.
The definition of 'animation-play-state' in that specification.
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|