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
BCD tables only load in the browser
Siehe auch
- CSS-Eigenschaft
font-stretch