Revision Content

Summary

The CSSanimation-timing-function property specifies how a CSS animation should progress over the duration of each cycle. The possible values are one or several {{ xref_csstimingfunction() }}.

For keyframed animations, the timing function applies between keyframes rather than over the entire animation. In other words, the timing function is applied at the start of the keyframe and at the end of the keyframe.

An animation timing function defined within a keyframe block applies to that keyframe; otherwise. If no timing function is specified for the keyframe, the timing function specified for the overall animation is used.

It is often convenient to use the shorthand property {{ cssxref("animation") }} to set all animation properties at once.