ToolPal

CSS Cubic Bezier Generator

Visually craft CSS cubic-bezier easing curves with a draggable control-point editor and live animation preview.

1001

Drag the colored control points to shape the curve. Y can extend below 0 or above 1 for overshoot.

Color intensity samples the curve at 11 evenly-spaced time points.

transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);

/* with shorthand */
transition: all 1000ms cubic-bezier(0.25, 0.1, 0.25, 1);

/* on a keyframe animation */
animation: my-anim 1000ms cubic-bezier(0.25, 0.1, 0.25, 1) infinite;

How to Use

Visually craft CSS cubic-bezier easing curves with a draggable control-point editor and live animation preview.

  1. 1Click a preset (ease, ease-in-out, ease-out-back, etc.) to load a starting curve.
  2. 2Drag the two colored control points on the curve panel to shape the easing — Y can extend beyond 0 and 1 for overshoot.
  3. 3Watch the live animation preview to feel the motion. Adjust the duration slider for slower or faster playback.
  4. 4Fine-tune by typing exact values into the x1 / y1 / x2 / y2 number fields.
  5. 5Click 'Copy' to copy the cubic-bezier(...) value, then paste it into your CSS transition or animation.

Key Features

  • Drag-to-edit control points with overshoot range — Y values can go negative or above 1 for spring-like motion
  • Eight presets including overshoot variants (ease-out-back, ease-in-out-back, elastic)
  • Live demo with adjustable duration and replay button — feel the curve before copying it
  • Numeric x1/y1/x2/y2 fields synced with the visual editor — precise tuning either way
  • Output includes the standalone cubic-bezier() value plus complete transition/animation snippets

Frequently Asked Questions

Learn More