🎞️Ease-In
Also known as Ease In, Ease-In Curve
Easing that starts slow and speeds up. It suits things that leave the screen.
Think of it like
It is like a ball rolling off a table. It starts slow, then drops faster and faster.
Example
When Lucy deletes a photo, it speeds up as it drops out of the bottom of the screen.
Why it matters
It makes exits feel natural, as if the thing has weight and gathers speed as it goes.
Definition
Example code
css
.toast.leaving {
transition: transform 200ms ease-in;
/* same as cubic-bezier(0.42, 0, 1, 1) */
}Common mistake
Key takeaways
- 1Slow start. Speeds up to the end.
- 2For exits. Things that leave.
- 3Not for arrivals. They would slam to a stop.