HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

animation-play-state

Description

The animation-play-state property for CSS defines whether the animation is running or paused.

Syntax

CSS

animation-play-state: value;

JS

object.style.animationPlayState = "value";

Values

<'animation-play-state'> = <single-animation-play-state>#
<single-animation-play-state> = running | paused
running

The animation proceeds as normal.

paused

The animation is paused. It restarts from where it left off.

Initial

running

Examples

1 · paused

2 · running

3 · JS