Back to Lab
Lab · 08

Ease

Drag the two points. Watch how the curve feels, not just what it looks like.

cubic-bezier(0.25, 0.10, 0.25, 1.00)

Questions

What is cubic-bezier() in CSS?

A timing function built from two control points, cubic-bezier(x1, y1, x2, y2), shaping how a transition speeds up and slows down. x stays within 0–1; y can go outside that range for overshoot.

How do I use the value this generates?

Drop it into transition-timing-function or the transition shorthand, or an @keyframes animation's animation-timing-function: transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

What's the difference between ease and ease-in-out?

ease starts quickly and eases out at the end, CSS's default and good for small UI moves. ease-in-out eases at both ends, which reads as more deliberate for bigger movements.

Can I make a bounce effect?

A single curve can overshoot and settle back once, like the Back preset. A true multi-bounce needs a multi-step @keyframes animation instead.