CSS font-variation-settings Property Reference
The CSS font-variation-settings property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
font-variation-settings overview
The CSS font-variation-settings property is a standard property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.
The computed value normally inherits from the parent element when no declaration wins the cascade.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | normal | [ <string> <number> ]# |
| Initial value | normal |
| Applies to | allElements |
| Inherited | Yes |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | transform |
| Media | visual |
| Specification group | CSS Fonts |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set font-variation-settings. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
font-variation-settings: initial;
}
.inherit-example {
font-variation-settings: inherit;
}
@supports (font-variation-settings: initial) {
.supported {
font-variation-settings: initial;
}
}