Ease In, Ease Out, and Everything Between
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
CSS easing functions are the same Bézier handles designers already use in the pen tool — they just bend time instead of a shape. The four numbers in cubic-bezier() represent two control point positions: x1,y1 for the handle leaving the start and x2,y2 for the one arriving at the end. The article explains how easing maps to traditional animation timing charts, demystifies the ease-in/ease-out/ease-in-out keywords (showing their exact cubic-bezier equivalents), and gives a practical rule: use ease-out for entrances, ease-in for exits, and ease-in-out for moves between visible positions. It also covers overshooting and windup effects by pushing handles outside the unit square, and closes with the prefers-reduced-motion media query as a non-negotiable baseline.
Table of contents
Easing is where the frames bunch upin, out, and the one ruleThe keywords are just presetsPast the edges of the boxThe reduced-motion boundary13.5K Impressions3 Comments