animation-direction property

0 out of 1 rated this helpful - Rate this topic

Specifies the direction of play for an animation cycle.

This property is read/write.

CSS Animations Module Level 3, Section 3.6

Syntax

animation-direction: [ normal | alternate | reverse | alternate-reverse ] [ , [ normal | alternate | reverse | alternate-reverse ] ] *

Property values

One or more direction keywords, separated by commas.

normal

Initial value. The animation is played in the forward direction.

reverse

The animation cycles are played in the reverse direction of the direction in which they were specified.

alternate

The animation cycles alternate between playing in the forward direction (odd iterations) and the reverse direction (even iterations).

alternate-reverse

The animation cycles alternate between playing in the reverse direction (odd iterations) and the forward direction (even iterations).

CSS information

Applies Toblock-level and inline-level elements
Mediavisual
Inheritedno
Initial Valuenormal

Standards information

Remarks

To learn more about Cascading Style Sheets (CSS) animations, see How to bring your webpage to life with CSS transforms, transitions, and animations.

See also

CSSStyleDeclaration
currentStyle
style
a
abbr
b
bdo
br
cite
code
em
i
img
input
kbd
label
q
samp
select
small
span
strong
sub
sup
textArea
var
address
blockQuote
div
dl
fieldSet
form
ol
p
pre
table
ul
dd
dt
li
tBody
td
tFoot
th
tHead
tr
button
del
ins
map
object
script
How to bring your webpage to life with CSS transforms, transitions, and animations
Internet Explorer 10 Guide for Developers: CSS Animations

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.