---
layout: single
property_name: animation-timing-function
---
Defines how the values between the start and the end of the animation are calculated.
The animation starts slowly, accelerates in the middle, and slows down at the end.
The animation starts slowly, and accelerates gradually until the end.
The animation starts quickly, and decelerates gradually until the end.
Like The animation starts quickly, and decelerates gradually until the end.
The animation has a *constant speed.
The animation jumps instantly to the final state.
The animation stays at the initial state until the end, when it instantly jumps to the final state.
By using
#animation-timing-function
default
animation-timing-function: ease;
animation-timing-function: ease-in;
animation-timing-function: ease-out;
animation-timing-function: ease-in-out;
ease, but more pronounced.animation-timing-function: linear;
animation-timing-function: step-start;
animation-timing-function: step-end;
animation-timing-function: steps(4, end);
steps() with an integer, you can define a specific number of steps before reaching the end. The state of the element will not vary gradually, but rather jump from state to state in separate instants.