---
layout: single
property_name: animation-direction
---
Defines in which direction the animation is played.
The animation is played forwards. When it reaches the end, it starts over at the first keyframe.
The animation is played backwards: begins at the last keyframe, finishes at the first keyframe.
The animation is played forwards first, then backwards:
The animation is played backwards first, then forwards:
#animation-direction
default
animation-direction: normal;
animation-direction: reverse;
animation-direction: alternate;
animation-direction: alternate-reverse;