CSS Cubic Bezier Generator
Drag the green or red dots on the curve to shape your easing, or pick a preset below.
Curve
cubic-bezier(0.55, 0, 0.2, -2)
Quick presets
Preview
The ball shows progress over time. Left = negative progress, center = 0, right = positive. Play to see curves that dip below zero.
Fine-tune control points
P1
P2
Generated CSS
animation-timing-function: cubic-bezier(0.55, 0, 0.2, -2);
animation-duration: 5s;Comments
Similar Coding Tools
See AllWhat is CSS Cubic Bezier Generator?
CSS Cubic Bezier Generator helps you create custom cubic-bezier() timing functions for CSS animations. The curve shows how progress changes over time: drag the green (P1) and red (P2) control points, or use the sliders and predefined presets like ease, ease-in, and ease-out.
Use the animation preview to see how your curve affects motion, then copy the generated animation-timing-function and animation-duration CSS for your project.
How to use the CSS Cubic Bezier Generator?
Follow these steps:
- 1
Choose a predefined easing or drag the control points on the graph to create a custom curve.
- 2
Adjust P1 (green) and P2 (red) with the sliders for precise values; X must stay between 0 and 1.
- 3
Set the animation duration and click Play to preview how the curve affects progress over time.
- 4
Copy the CSS and use it in your animation or transition (e.g. animation-timing-function, transition-timing-function).