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.

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

font-width formal syntax
FieldValue
Formal syntaxnormal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded
Initial valuenormal
Applies toallElementsAndText
InheritedYes
Percentagesno
Computed valuepercentage
Animation typebyComputedValueType
Mediavisual
Specification groupCSS Fonts
StatusExperimental

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.

font-width live example
CSS .reset-example { font-width: initial; } .inherit-example { font-width: inherit; } @supports (font-width: initial) { .supported { font-width: initial; } }

Description

The CSS font-width property is a experimental property in CSS Fonts. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: font-width
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies