The CSS property syntax used for each example below has been included for convenience. All of the example animations have the same ten second repeating duration.
animation-timing-function: linear;
Linear animates at an even speed from start to finish.
animation-timing-function: ease;
With ease timing, the animation has a slow start, then fast, before it ends slowly.
animation-timing-function: ease-in;
Slow start, then an even speed.
animation-timing-function: ease-out;
Even speed to a slow end.
animation-timing-function: ease-in-out;
Slow start, even speed, and slow end.
animation-timing-function: cubic-bezier(0.86, 0, 0.07, 1).
A Cubic Bezier curve is defined by four points P0, P1, P2, and P3. P0 and P3 are the start and the end of the curve and, in CSS these points are fixed as the coordinates are ratios. P0 is (0, 0) and represents the initial time and the initial state, P3 is (1, 1) and represents the final time and the final state. Any values between 0 and 1 are valid.
animation-timing-function: steps(5, jump-both)
Displays an animation iteration along stops through the animation, displaying each stop for equal lengths of time. There are several optional parameters that can be used to further customize the animation. See the MDN animation timing function reference for a list and explanation for each additional parameter.