liveBook · Manning

Timing function

A CSS timing function maps elapsed time to progress through a transition or animation.

How 2 Manning books explain it

CSS in Depth, Second Edition

A CSS timing function curve represents how the rate of change progresses over the duration of a transition or animation.

How it is used
Controls the rate of change during CSS transitions and keyframe animations.
How deep it goes
Explains keyword behaviors and Bézier curves, then demonstrates browser-based curve editing and a custom overshoot.
Examples
Compares a hovered moving box under three keywords and uses a translating navigation label to demonstrate bounce.
What you can do after
Apply it via CSS keywords or `cubic-bezier()` and adjust a custom curve with browser DevTools.

Read how CSS in Depth, Second Edition explains timing function →

Math for Web Design

A function that maps elapsed animation time to progression through an animation.

How it is used
Shapes the speed of CSS animations and transitions to make interface motion feel natural, responsive, and less mechanical.
How deep it goes
Explains easing behavior, keyword meanings, and cubic-bezier() syntax, but stops short of deriving the curve mathematically.
Examples
Uses linear, ease, ease-in, ease-out, ease-in-out, a mobile menu, and custom cubic-bezier() declarations.
What you can do after
Apply it via CSS keywords or cubic-bezier() to control acceleration and deceleration in interface animations.

Read how Math for Web Design explains timing function →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.