font-width
The font-width property specifies the width of a font.
Experimental โ This feature is experimental and may change
Formal Syntax
normal | <percentage [0,โ]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded
JavaScript Access
// Access via element.style
element.style.fontWidth = 'normal';
Browser Support
| Feature | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| font-width | โ | โ | 18.4 | โ |
| condensed | โ | โ | 18.4 | โ |
| expanded | โ | โ | 18.4 | โ |
| extra-condensed | โ | โ | 18.4 | โ |
| extra-expanded | โ | โ | 18.4 | โ |
| normal | โ | โ | 18.4 | โ |
| percentage | โ | โ | 18.4 | โ |
| semi-condensed | โ | โ | 18.4 | โ |
| semi-expanded | โ | โ | 18.4 | โ |
| ultra-condensed | โ | โ | 18.4 | โ |
| ultra-expanded | โ | โ | 18.4 | โ |
Related Properties
- font
- font-family
- font-feature-settings
- font-kerning
- font-language-override
- font-optical-sizing
- font-palette
- font-size
- font-size-adjust
- font-style
- font-synthesis
- font-synthesis-small-caps
- font-synthesis-style
- font-synthesis-weight
- font-variant
- font-variant-alternates
- font-variant-caps
- font-variant-east-asian
- font-variant-emoji
- font-variant-ligatures
- font-variant-numeric
- font-variant-position
- font-variation-settings
- font-weight
- font-synthesis-position ๐งช
- font-stretch ๐๏ธ