Click on a preset to view it, or drag the handles to create a custom curve.
A cubic-bezier curve lets you customize the speed of your CSS animations. It defines how an animation progresses over time — whether it starts slow, speeds up, bounces, or eases in or out.
The cubic-bezier()
function uses four numbers: x1, y1, x2, y2
. These control points shape the animation curve between the fixed start (0, 0)
and end (1, 1)
.
This page lets you edit a cubic-bezier curve and see how it changes the animation in real time. Explore how different values affect the motion of your elements!
The animation begins slowly, then speeds up.
cubic-bezier(0.42, 0, 1, 1)
Starts fast and ends smoothly.
cubic-bezier(0, 0, 0.58, 1)
Overshoots and springs back like a rubber band.
cubic-bezier(0.68, -0.55, 0.27, 1.55)
0
and 1
.0
or above 1
to create bounces or elastic effects.ease-in
or ease-out
curves to make animations feel natural.
Use the curve editor above to tweak your own cubic-bezier()
values and instantly preview how the animation changes.
Want to bring your easing into motion graphics or video work? You can generate After Effects (AE) expression code from any cubic-bezier curve you design here.
Simply choose from:
Each option outputs a clean, copy-paste-ready AE expression that mimics the exact curve you're seeing in the preview. Your animation will ease smoothly between two keyframes with precision — no plugins needed.
Just select your curve, open the Copy Options dropdown, and choose the After Effects property you want. Then paste it directly into AE — and boom, beautiful motion.