coderef

font-stretchBaseline · Widely available

The font-stretch CSS property selects a font face from a font family based on width, either by a keyword such as condensed or a percentage.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.

Browser support

DesktopChrome
1–61Not supported
62+Supportedsince Oct 17, 2017
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–61Not supported
62+Supportedsince Sep 5, 2018
Current: 157
Safari
1–11Not supported
11.1+Supportedsince Apr 12, 2018
Current: 27
MobileChrome Android
18–61Not supported
62+Supportedsince Oct 24, 2017
Current: 155
Firefox Android
4–61Not supported
62+Supportedsince Sep 5, 2018
Current: 157
Safari iOS
1–11Not supported
11.3+Supportedsince Mar 29, 2018
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: font-stretch.

Feature detection

CSS · check before using
@supports (font-stretch: initial) {
  /* styles that rely on font-stretch */
}

/* or in JavaScript */
if (CSS.supports("font-stretch", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (14). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
@font-face.font-stretch62176210.1626210.3
font-stretch601291160911
font-stretch.condensed601291160911
font-stretch.expanded601291160911
font-stretch.extra-condensed601291160911
font-stretch.extra-expanded601291160911
font-stretch.normal601291160911
font-stretch.percentage62186111.1626111.3
font-stretch.semi-condensed601291160911
font-stretch.semi-expanded601291160911
font-stretch.ultra-condensed601291160911
font-stretch.ultra-expanded601291160911
font.font-width_keyword_values60794311604311
svg.global_attributes.font-stretch601291160911