CSS ease-in
The CSS ease-in keyword: slow start, fast end, with no soft stop.
ease-in reaches 50% of its travel at 66% of the time and 90% at 94%. Its peak speed is 1.72x the average.
Live demo
The blue box uses the exact linear() string below, in your browser. The grey box is linear.
ease-in
linear
Your system asks for reduced motion, so the boxes rest at the end of the move.
Numbers
- 50% of travel
- 66%of the time
- 90% of travel
- 94%of the time
- After 10% of time
- 1.7%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
Copy the code
animation-timing-function: linear(0, 0.0011, 0.0045, 0.0098, 0.017, 0.026, 0.0366, 0.0487, 0.0623, 0.0772, 0.0935, 0.1109, 0.1296, 0.1493, 0.1702, 0.192, 0.2149, 0.2386, 0.2633, 0.2889, 0.3154, 0.3426, 0.3707, 0.3995, 0.4291, 0.4595, 0.4905, 0.5223, 0.5548, 0.588, 0.6219, 0.6564, 0.6916, 0.7275, 0.7641, 0.8014, 0.8394, 0.8782, 0.9178, 0.9582, 1);animation-timing-function: cubic-bezier(0.42, 0, 1, 1);el.animate({ translate: ['0 0', '240px 0'] }, { duration: 600, easing: 'cubic-bezier(0.42, 0, 1, 1)', fill: 'both' });animation: slide 600ms ease-in;When to use it, and when to avoid it
Use it for
- An element leaving the screen, where it should be fastest as it goes.
- A build-up before a cut.
Avoid it for
- Entrances: the start is slow and the viewer waits.
- A move that must end at rest: it stops dead at full speed.
The nearest vawe ease
The closest of the nine vawe After Effects eases is carry, an RMS gap of 0.0974 in progress. After Effects and vawe set the shape with two handles, so it can be tuned where a named curve cannot.