font-stretch
Widely availableSince 201797% of users
Allows you to choose a wider or narrower version of a font if the font family supports it (commonly used with variable fonts to squeeze or stretch text).
What's modern
From web-features, MDN's browser data and our snippets, checked dailyClassic, with newer partsIt has worked everywhere since September 2017, and it keeps getting newer values.
Newer parts of font-stretch
<percentage> syntaxBaseline Oct 2018, Widely Apr 2021
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
normal- Inherited
- Yes
- Applies to
- all elements and text
- Animation type
- byComputedValueType
Quick example
h1 {
/* Uses a condensed version of the font */
font-stretch: 75%;
}font-stretch browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
60+
9+
11+
12+Mobile
60+Android
9+Android
11+iOS