Lab

Easing assigner

A curve that reads snappy on a move reads sluggish on a fade. Give each property its own, then take the CSS.

A curve paces a change from start to finish. Steep is fast, flat is slow.

Move transform: translateX()

Leaves at full speed and settles into place. This site's --ease-out, and the safest of the five on a move.

Fade opacity

Leaves at full speed and settles into place. This site's --ease-out, and the safest of the five on a move.

Scale transform: scale()

Leaves at full speed and settles into place. This site's --ease-out, and the safest of the five on a move.

Colour background-color

Leaves at full speed and settles into place. This site's --ease-out, and the safest of the five on a move.

Controls

Playback

Freezes all four at the same instant, at four different points of the same journey.

On, every panel changes together.

Duration

1600ms is for reading a curve, not for shipping.

Reduced motion

Move and scale cross-fade in place instead of travelling.

motion.css