CSS Easing & Cubic Bezier Generator

Drag a bezier curve and watch it move before you commit to it.

DesignFreeNo sign-up
Loading tool…

Runs entirely in your browser — nothing you enter is uploaded or stored on a server.

How to use it

Shape a cubic-bezier timing function by dragging its two control handles, then watch the result play on movement, scale and opacity at a duration you choose. Includes the CSS keywords and the overshooting curves that give an interface its spring.

  1. Drag either handle, or focus one and nudge it with the arrow keys.
  2. Set a duration and replay the preview until the motion feels right.
  3. Copy the cubic-bezier value into your CSS or animation library.
DesignersDevelopersMotion designers

Questions

Which easing should I use for interface motion?

Something that starts fast and settles slowly — an ease-out. Things entering the screen should decelerate; things leaving can accelerate away, because nobody needs to watch them go.

Can the curve go above 1?

Yes. Only the x values are required to stay between 0 and 1. A y above 1 overshoots the target and comes back, which is where a “back” or springy easing comes from.

Is ease the same as ease-in-out?

No. The CSS keyword ease is cubic-bezier(0.25, 0.1, 0.25, 1), which is asymmetric and eases out more than in. ease-in-out is symmetric.

What about spring animations?

A cubic-bezier cannot express a real spring, which oscillates. Use linear() with sampled points, or a physics-based library, when you need genuine bounce.