vaweGitHub

EasingCSS keywords

CSS ease-out

Fast start, slow end. ease-out reaches 50% of its travel at 34% of the time and 90% at 74%. Its peak speed is 1.72x the average.

Entrance

Demo

Progress against time, with the playhead0100.51progress50%90%Speed against time, in multiples of average speed0100.51speed, x average
Dashed: linear, and 1× speed. The dot and the line move with the object below.
Spacing: 24 equal steps of time
ease-out
linear
Bunched shapes are slow. Wide gaps are fast. Past the right line means overshoot.
ease-out
linear

Your system asks for reduced motion, so nothing plays. The charts above show the whole move.

Four interface motions with this ease
Card enters
Modal scales in
Toast drops
Menu slides

Code

css linear() (exact)
animation-timing-function: linear(0, 0.0418, 0.0822, 0.1218, 0.1606, 0.1986, 0.2359, 0.2725, 0.3084, 0.3436, 0.3781, 0.412, 0.4452, 0.4777, 0.5095, 0.5405, 0.5709, 0.6005, 0.6293, 0.6574, 0.6846, 0.7111, 0.7367, 0.7614, 0.7851, 0.808, 0.8298, 0.8507, 0.8704, 0.8891, 0.9065, 0.9228, 0.9377, 0.9513, 0.9634, 0.974, 0.983, 0.9902, 0.9955, 0.9989, 1);
cubic-bezier (the keyword's definition)
animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
web animations api
el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0, 0, 0.58, 1)', fill: 'both' });
css
animation: slide 600ms ease-out;

Numbers

50% of travel
34%of the time
90% of travel
74%of the time
After 10% of time
16.06%of the travel is done
Peak speed
1.72xtimes the average
Overshoot
0%stays inside the end
Undershoot
0%never below the start
linear() points
41at a 0.002 tolerance
cubic-bezier
exactworst gap 0.0 points

Use and avoid

Use for

  • Entrances and replies to a click, where the response should be at once.
  • Short UI moves of 150 to 300 ms.

Avoid for

  • Moves over 0.5 s: the long slow tail looks like the element is stuck.
  • Exits: it is slowest as the element leaves.

Nearest vawe ease

leave, curve gap 0.084.

More easing