Easing is where the feeling lives
Put two squares on a screen. Move both from left to right over 400 milliseconds. Give one a linear curve and the other a gentle ease-out. Same distance, same duration, same everything — and yet one looks like a machine and the other looks like it meant to go there.
That gap is easing. Duration tells you how long something moves. Easing tells you how it feels while it’s moving.
Nothing in the real world moves linearly
A ball doesn’t leave your hand at full speed and stop dead at the wall. It accelerates, it slows, it settles. Our eyes have spent a lifetime watching objects with mass, and they notice immediately when something moves without any.
Linear motion still has its place: a progress bar, a spinning loader, a marquee. Anything mechanical, or anything that loops forever, can stay linear. For everything else, reach for a curve.
The three curves that do most of the work
- Ease-out (fast start, soft landing) for things entering. The element arrives with energy and settles into place, which makes the interface feel responsive.
- Ease-in (slow start, fast finish) for things leaving. It gathers itself and goes. Use it sparingly — an ease-in at the start of an interaction feels like lag.
- Ease-in-out for things moving from one place to another on screen, like a card sliding between two positions. Both ends are soft, so neither feels abrupt.
Ease-out for arrivals, ease-in for exits, ease-in-out for journeys.
Make the defaults yours
The built-in ease keywords are fine, but they’re the same curves everyone else uses. A custom cubic Bézier gives your product a personality:
:root {
--ease-out-soft: cubic-bezier(0.22, 0.8, 0.24, 1);
--ease-in-out-snappy: cubic-bezier(0.65, 0, 0.35, 1);
}
.card {
transition: transform 420ms var(--ease-out-soft);
}
The first curve has a long, lazy tail. Things get almost all the way there quickly, then drift the last few pixels. It reads as calm and confident. The second is tighter and more decisive — good for toggles and switches.
Duration and easing are a pair
A strong ease-out feels faster than a linear move of the same duration, because most of the distance is covered early. That means you can often lengthen a duration slightly when you add a steep ease, and the motion will still feel snappy while looking smoother.
As a rough starting point for interfaces: small things (buttons, toggles) around 150–200ms, medium things (cards, menus) around 250–350ms, and large things (full-screen panels) around 400–500ms. Then trust your eyes over the numbers.
Easing is the cheapest, highest-leverage decision in motion design. You don’t need new assets or new code paths — just a better curve. Start there.