Skip to content
install

tool · one of 51 free, no counter

Easing

What timing function gives this animation the feel I want?

A curve is hard to judge from four numbers, and a spring is usually a JavaScript dependency. This draws the curve as you move it, replays it on a moving ball at the duration you set, and writes the spring out as CSS linear() - the same motion sampled at even steps over the time it takes to settle - so the physics ships as a stylesheet with no script behind it.

Reach it Press ⌘ + K on any tab and type easing. Ctrl + K on Windows and Linux

A cubic-bezier or a spring, replayed, and written out as one line of CSS
reads the curve you set, never the page
writes nothing
sends nothing
spring stiffness, damping, mass, as linear()
prints settle time and overshoot
linear() Chrome 113, Firefox 112, Safari 17.2
plan free
section#about

What this actually is

Tuning a menu that opens too stiffly, matching the overshoot of a native control, or replacing a spring library with a single line of CSS. The settle time and the overshoot are printed, so two springs can be compared by number as well as by eye.

section#asked

Asked about this tool

How is a spring turned into CSS?

It is simulated until it settles, and the position is sampled at even steps into a linear() timing function. The transition gets the settle time as its duration, so the motion and the length match.

What happens on a browser without linear()?

The declaration is ignored and the transition falls back to its default easing. Chrome 113, Firefox 112 and Safari 17.2 all support it, which covers nearly every browser in use.

Can a cubic-bezier overshoot?

Yes - the y values may go below 0 or above 1, and the preview draws it. The x values are held between 0 and 1, because CSS rejects anything outside them.

how to use easing

  1. Open Easing and choose cubic-bezier or spring.
  2. Start from a preset, or move the four control points or the spring dials.
  3. Press Replay to watch the ball follow the curve at the duration you set.
  4. Copy the transition declaration that is written underneath.