CSS Cubic Bezier Generator

Turn four numbers into a CSS cubic-bezier easing value for animations and transitions.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the CSS Cubic Bezier Generator

  1. Type the two numbers for the first handle.
  2. Type the two numbers for the second handle.
  3. Copy the CSS value into your transition or animation.

Frequently asked questions

What does cubic-bezier mean?

It is a CSS easing curve set by two handle points. The across numbers must stay between 0 and 1, while the up or down numbers can go past them to make a bounce.

Where do I use the value?

Put it in a transition or animation, for example transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);

What are ease and ease-in-out?

They are named curves that are cubic-bezier values. Ease-in-out starts slow, speeds up and then slows down at the end.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.