Easing is the "acceleration" of an animation. In CSS you set it via transition-timing-function or animation-timing-function, either with a keyword (linear, ease, ease-in, ease-out, ease-in-out) or a cubic-bezier() curve.
Linear feels mechanical. Ease-out (fast start, slow finish) suits things the user triggered — modals appearing, dropdowns opening. Ease-in (slow start, fast finish) suits things leaving the screen. Back overshoots the target and springs back, reading as elastic.
The five lanes below start together over the same distance. Only linear moves at constant speed — the rest differ wildly in arrival time and feel.
When to use
Don't mix easings on one element. Use ease-out for entrances, ease-in for exits, and save back/spring for moments that need emphasis.