CSS ease
The CSS default: a quick start and a long, soft end. ease reaches 50% of its travel at 29% of the time and 90% at 62%. Its peak speed is 2.29x the average.
Demo
ease
linear
ease
linear
Your system asks for reduced motion, so nothing plays. The charts above show the whole move.
Code
animation-timing-function: linear(0, 0.0131, 0.033, 0.0601, 0.0948, 0.1369, 0.1855, 0.2389, 0.2952, 0.3524, 0.4085, 0.4624, 0.5133, 0.5608, 0.6048, 0.6453, 0.6825, 0.7166, 0.7479, 0.7764, 0.8024, 0.8261, 0.8478, 0.8674, 0.8852, 0.9014, 0.9159, 0.929, 0.9408, 0.9512, 0.9605, 0.9686, 0.9756, 0.9817, 0.9868, 0.991, 0.9943, 0.9969, 0.9986, 0.9997, 1);animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.25, 0.1, 0.25, 1)', fill: 'both' });animation: slide 600ms ease;Numbers
- 50% of travel
- 29%of the time
- 90% of travel
- 62%of the time
- After 10% of time
- 9.48%of the travel is done
- Peak speed
- 2.29xtimes 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
- A first pass on a UI change when you have not chosen a curve.
- Hover and focus changes under 300 ms.
Avoid for
- Film moves over 0.3 s: it is the browser default, not a choice. Use land or settle.
- Loops. It ends slowly and starts fast, so a repeat shows a seam.
Nearest vawe ease
leave, curve gap 0.1135.