CSS animation-timing-function Property Reference
The CSS animation-timing-function property is a standard property in CSS Animations. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
animation-timing-function overview
The CSS animation-timing-function property is a standard property in CSS Animations. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | <easing-function># |
| Initial value | ease |
| Applies to | allElementsAndPseudos |
| Inherited | No |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | notAnimatable |
| Media | visual |
| Specification group | CSS Animations |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set animation-timing-function. The initial and inherit global keywords remain available even when a property-specific value is preferable.
.reset-example {
animation-timing-function: initial;
}
.inherit-example {
animation-timing-function: inherit;
}
@supports (animation-timing-function: initial) {
.supported {
animation-timing-function: initial;
}
}