Share via


animation-direction

Sets

Syntax

{ animation-direction:sVar }

Possible values

sVar

that specifies one of the following values:

normal

The animation plays only in the forward direction.

alternate

The animation plays forward for odd-numbered iterations and plays in reverse for even-numbered iterations. During a reverse-play cycle, values associate with animation-timing-function are also reversed.

This property has a default value of normal. It is not inherited.

Standards information

Important

This documentation is preliminary and subject to change.

See also

Concepts

animation
animation-delay
animation-direction
animation-duration
animation-iteration-count
animation-timing-function

Other resources

animation-play-state

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.