transition-timing-function
Defines the 'curve' or speed of a transition over its duration. It determines if the animation starts slow, ends fast, or follows a custom cubic-bezier path for more natural movement.
It is documented as part of the CSS Transitions specification.
Syntax
/* Usage Example */
.drawer {
/* Gives a bouncy, natural feel to the sliding animation */
transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition-duration: 0.6s;
}
/* Global values */
transition-timing-function: inherit;
transition-timing-function: initial;
transition-timing-function: revert;
transition-timing-function: revert-layer;
transition-timing-function: unset;
transition-timing-function Browser support
Widely available
Since
2015 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
26+
16+
9+
12+