CSS font-width Property Reference
The CSS font-width property is a experimental property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
font-width overview
The CSS font-width property is a experimental 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 | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded |
| Initial value | normal |
| Applies to | allElementsAndText |
| Inherited | Yes |
| Percentages | no |
| Computed value | percentage |
| Animation type | byComputedValueType |
| Media | visual |
| Specification group | CSS Fonts |
| Status | Experimental |
Practical examples
These declarations demonstrate valid ways to set font-width. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
font-width: initial;
}
.inherit-example {
font-width: inherit;
}
@supports (font-width: initial) {
.supported {
font-width: initial;
}
}