CKTIS / CSS
font-stretch — selecting a font face width
font-stretch selects a narrower or wider face within a font family instead of geometrically stretching text. Its visual effect depends on the available faces.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
font-stretch: normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded;font-stretch selects a normal, condensed, or expanded face within font-family. The property is inherited and initially normal. It does not set the element box width.
CSS Fonts Level 4 defines it as a legacy name alias for font-width. It accepts nonnegative percentages: normal corresponds to 100%, condensed to 75%, and expanded to 125%. Percentages are not relative to the parent width. Variable fonts can implement selection through the wdth axis.
If the requested face is unavailable, font matching selects an available alternative, so the change may be invisible. The browser must not substitute geometric stretching for missing width variants. The example checks the computed value, not the appearance of the letters; it requires local verification.
Examples
<!doctype html>
<meta charset="utf-8">
<style>
#sample { font-family: sans-serif; font-stretch: 75%; }
</style>
<p id="sample">Font width sample</p>
<pre id="result"></pre>
<script>
const sample = document.getElementById('sample');
document.getElementById('result').textContent =
getComputedStyle(sample).getPropertyValue('font-stretch');
</script>Result
75%
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.