You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css3-animations/Overview.src.html
+21-3
Original file line number
Diff line number
Diff line change
@@ -731,7 +731,7 @@ <h3>
731
731
The <codeclass="property">'animation-direction'</code> Property
732
732
</h3>
733
733
<p>
734
-
The <codeclass="property">'animation-direction'</code> property defines whether or not the animation should play in reverse on alternate cycles. If <codeclass="css">alternate</code> is specified, the animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction. When an animation is played in reverse the timing functions are also reversed. For example, when played in reverse an ease-in animation would appear to be an ease-out animation.
734
+
The <codeclass="property">'animation-direction'</code> property defines whether or not the animation should play in reverse on some or all cycles. When an animation is played in reverse the timing functions are also reversed. For example, when played in reverse an ease-in animation would appear to be an ease-out animation.
735
735
</p>
736
736
<tableclass="propdef">
737
737
<tbody>
@@ -748,7 +748,7 @@ <h3>
748
748
<em>Value:</em>
749
749
</td>
750
750
<td>
751
-
normal | alternate [, [ normal | alternate ] ]*
751
+
normal | reverse | alternate | alternate-reverse [, [ normal | reverse | alternate | alternate-reverse ] ]*
<dd>All iterations of the animation are played as specified.</dd>
807
+
<dt>reverse</dt>
808
+
<dd>All iterations of the animation are played in the reverse direction from the way they were specified.</dd>
809
+
<dt>alternate</dt>
810
+
<dd>The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction.</dd>
811
+
<dt>alternate-reverse</dt>
812
+
<dd>The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction.</dd>
0 commit comments