Timing function
A CSS timing function maps elapsed time to progress through a transition or animation.
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.
Also covered in
What to know first
- CSS transform propertyThe CSS transform property applies two-dimensional or three-dimensional geometric transformations, such as translation, rotation, scaling, and skewing, to an element’s rendering.
Related concepts
- Bézier curveconfigured by · A Bézier curve is a parametric curve whose shape is determined by control points.
- cubic-bezier()implemented by · The CSS cubic-bezier() function defines a timing function using a cubic Bézier curve specified by two control points.
- animationused by · Animation is the presentation of changing visual states over time to create the appearance of motion or change.
- transitionpart of · A CSS transition interpolates changes in a CSS property’s value over time when that value changes.
Questions about timing function
What is timing function?
A CSS timing function maps elapsed time to progress through a transition or animation.
Which Manning books explain timing function?
CSS in Depth, Second Edition and Math for Web Design.
What should I know before learning timing function?
Manning books that teach timing function usually introduce CSS transform property first.
What kinds of timing function are there?
Kinds of timing function include linear and steps() function.
What is timing function part of?
Timing function is part of transition. A CSS transition interpolates changes in a CSS property’s value over time when that value changes.
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.

