Skip to content
BENIBIX Learn

Ease-In-Out

Design🎞️ Motion & VideoAnimation

Also known as Ease In Out, Ease-In-Out Curve, S-Curve Easing

Easing that is slow at both ends and fast in the middle. It suits moves within the screen.

Think of it like

It is like a lift between floors. It starts gently, goes fast, then stops gently.

Example

A photo moves from a grid to full screen. It eases out of its spot, speeds up, and eases into place.

Why it matters

For a thing that starts and ends on screen, it is the move that looks most like the real world.

Definition

Ease-in-out is easing that starts slow, speeds up in the middle and slows again at the end. Its curve is shaped like the letter S. It suits things that move from one spot to another while staying on screen. It is the software form of slow in and slow out. In CSS it is the keyword ease-in-out.

Example code

css
.photo {
  transition: transform 400ms ease-in-out;
  /* same as cubic-bezier(0.42, 0, 0.58, 1) */
}
The photo moves slow, then fast, then slow again.
Ease-in-out: close dots at both ends, wide ones in the middle.

Common mistake

Using it for everything. On entrances it feels slow to start, because nothing happens at first.

Key takeaways

  1. 1
    Slow, fast, slow. An S-shaped curve.
  2. 2
    For moves on screen. From one spot to another.
  3. 3
    Not for every case. Entrances want ease-out.