CSS · Properties — CSS Fonts

font-width

The CSS font-width property. Initial value: normal. Inherited.

Syntax
font-width: normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded

Example

Try it

Notes

Media: visual. Applies to: allElementsAndText. Computed value: percentage.

More in this group

font font-feature-settings font-kerning font-language-override font-optical-sizing font-palette font-size-adjust font-synthesis

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course