Skip to content

Cubic Bezier Generator

Shape CSS easing curves by dragging two handles. Compare the motion with linear timing and copy cubic-bezier() for transitions or Tailwind.

Curve editor

TimeProgress

Drag either handle. The dashed line is linear timing.

Motion preview

Your curve

Linear

Position at each tenth of the duration

transition: transform 1000ms ease;
/* or */
animation-timing-function: ease;

Everything stays in your browser.

How to use

  1. Choose a preset such as ease-out or easeOutBack, or paste an existing cubic-bezier() value.
  2. Drag the pink and blue handles to reshape the curve. The ball replays the motion next to linear timing.
  3. Set the duration, then copy the CSS transition or the Tailwind classes.

Example

cubic-bezier(0.34, 1.56, 0.64, 1)

Details and limitations

x1 and x2 represent time and stay between 0 and 1. y1 and y2 can range from -0.75 to 1.75 here; values outside 0 to 1 make the motion anticipate or overshoot.

Values are rounded to two decimals. A curve that equals a CSS keyword such as ease or ease-in-out is exported as that keyword.

Arrow keys move a focused handle by 0.01; Shift moves it by 0.1. You can also paste four numbers separated by commas.

The animation replays automatically after each change unless your system asks for reduced motion. Play always replays it.

FAQ

What is the default CSS easing?

Transitions and animations default to ease, which equals cubic-bezier(0.25, 0.1, 0.25, 1): a quick start and a gentle finish.

How do I make an overshoot or bounce?

Drag a handle above 1 or below 0. easeOutBack, cubic-bezier(0.34, 1.56, 0.64, 1), passes the end and settles back. A single cubic Bézier cannot bounce several times; use keyframes or the linear() function for that.

Can I use the same value for animations?

Yes. The value works in transition-timing-function, animation-timing-function and the easing option of the Web Animations API.

Format references

Tool page updated: