Easing

Also called easing function, timing function, or animation curve

A curve that controls how an animation’s speed changes over time, so motion can start slow, land softly, or keep one steady pace.

What is Easing?

Easing describes how an animation spreads its movement across its duration. Two animations can cover the same distance in the same time and still feel completely different: one launches quickly and glides to a stop, another creeps forward and then rushes. In CSS it is set with transition-timing-function or animation-timing-function; in libraries such as Motion it is the ease option.

Easing is drawn as a curve, with time running left to right and progress running bottom to top. A straight diagonal is linear. CSS also has the keywords ease (the default), ease-in, ease-out, and ease-in-out, and you can draw any curve of your own with cubic-bezier().

A good default for interface motion is ease-out: elements react right away and settle gently. Use ease-in-out for things that move from one spot to another on screen, and linear for constant motion like spinners and marquees. Spring animations are a related approach that computes the motion from physics instead of a fixed curve.

Often confused with

Duration
Duration sets how long an animation takes. Easing sets how the speed changes within that time.
All terms

Ease-out

An easing curve that starts fast and slows down at the end, so motion feels quick and lands softly.

Ease-in-out

An easing curve that starts slowly, speeds up in the middle, and slows down again at the end, tracing an S shape on a graph.

Cubic-bezier

A CSS function that defines a custom easing curve with four numbers: the positions of two control points that bend the curve.

Spring animation

An animation driven by simulated spring physics in place of a fixed duration and curve, so motion can overshoot, settle, and react naturally.