How to use the easing curve editor
- Pick a preset or drag the two points.
- Use arrow keys on a focused point for fine adjustment.
- Set a duration, play the preview and copy the CSS.
Choosing easing for interfaces
Elements entering usually decelerate, elements leaving accelerate, and movement across the screen eases both ways. Values of y above 1 overshoot, which feels springy. Honor the reduced motion preference.
Frequently asked questions
What are the four numbers?
x1, y1, x2 and y2, the coordinates of the two control points.
Can x go below 0 or above 1?
No. CSS requires both x values to be between 0 and 1.
How long should UI animations be?
Often 150 to 500 milliseconds, longer for larger movements.