font-stretch

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2017.

Das font-stretch-Attribut gibt den gewünschten Grad der Komprimierung oder Erweiterung der Glyphen an, die zur Darstellung des Textes verwendet werden.

Hinweis: Als Präsentationsattribut hat font-stretch auch ein entsprechendes CSS-Property: font-stretch. Wenn beide angegeben sind, hat die CSS-Eigenschaft Vorrang.

Dieses Attribut kann mit den folgenden SVG-Elementen verwendet werden:

Verwendungshinweise

Wert Siehe font-stretch
Standardwert normal
Animierbar Ja

Spezifikationen

Specification
CSS Fonts Module Level 4
# font-stretch-prop

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
font-stretch

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
See implementation notes.

Siehe auch