CSS Property: animation-play-state
[this page | pdf | back links]
The CSS (CSS3) animation-play-state property specifies
whether the animation is paused or not. One of its uses is to pause an
animation in the middle of a cycle using JavaScript.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
paused
|
Specifies animation is
paused
|
|
running
|
(default value). Specifies
animation is running
|
|
Default Value:
|
running
|
|
JavaScript syntax:
|
e.g. object.style.animationPlayState = "paused";
|
|
Inherited:
|
No
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties