Skip to content

Free CSS tool

Cubic-Bezier Easing Curve Editor

Drag the two control points to draw your own acceleration curve, watch it play, and copy the cubic-bezier() value.

Curve

Horizontal axis is time, vertical axis is progress. A curve that leaves the box overshoots the target and settles back.

Motion preview

Your curve

Comparison: linear

700ms

Control points

0.34
1.5
0.64
1

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

Ready-made curves

Generated CSS

.transition {
  transition: transform 700ms cubic-bezier(0.34, 1.5, 0.64, 1);
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(240px); }
}

.animation {
  animation: slide 700ms cubic-bezier(0.34, 1.5, 0.64, 1) both;
}