Favorites

CSS font-width Property

font-width
CSS PropertyThis property is supported in some modern browsers, but not all.
Updated 22nd November 2026

The font-width property selects a condensed or expanded face of a font, such as condensed or 125%. It replaces font-stretch.

Looks like you're using an ad blocker, and that's fine! Ads help keep CSS Portal's generators and references free, so if the site's useful to you, visit our Support page to see other ways to help.

Description

The font-width property selects a narrower or wider face of a font family, such as condensed or expanded. It is the new name for font-stretch, renamed in CSS Fonts Level 4 because the property chooses a designed width rather than stretching glyphs. Both names accept the same values and font-stretch remains a legacy alias.

Values are keywords from ultra-condensed to ultra-expanded or percentages from 50% to 200%. With a variable font that has a width (wdth) axis, any percentage selects an exact width; with static fonts the closest available face is used, and if the family has no other widths the property has no effect.

Definition

Initial value
normal
Applies to
all elements and text
Inherited
yes
Computed value
a percentage
Animatable
by computed value type
JavaScript syntax
object.style.fontWidth

Syntax

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

Values

  • normalThe default. Uses the normal width face (100%).
  • <percentage>A width between 50% and 200%. Values in between select the closest face or an exact instance of a variable font.
  • ultra-condensed ... ultra-expandedKeywords mapping to 50%, 62.5%, 75%, 87.5% (semi-condensed), 112.5% (semi-expanded), 125%, 150% and 200%.
  • initialSets the property to its initial value.
  • inheritTakes the computed value of the parent element.

Example

<p class="condensed">Condensed width</p>
<p class="normal">Normal width</p>
<p class="expanded">Expanded width</p>
p {
  font-family: "Roboto Flex", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  margin: 8px 0;
}

.condensed { font-width: condensed;  font-stretch: condensed; }
.normal    { font-width: normal; }
.expanded  { font-width: 150%;       font-stretch: 150%; }
Open in editor

Browser Support

The following information will show you the current browser support for the CSS font-width property. Hover over a browser icon to see the version that first introduced support for this CSS property.

This property is supported in some modern browsers, but not all.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported

Looks like you're using an ad blocker, and that's fine! Ads help keep CSS Portal's generators and references free, so if the site's useful to you, visit our Support page to see other ways to help.