-
Notifications
You must be signed in to change notification settings - Fork 22.4k
/
index.md
51 lines (38 loc) · 1.07 KB
/
index.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: font-stretch
slug: Web/SVG/Attribute/font-stretch
page-type: svg-attribute
browser-compat: svg.global_attributes.font-stretch
---
{{SVGRef}}
The **`font-stretch`** attribute indicates the desired amount of condensing or expansion in the glyphs used to render the text.
> [!NOTE]
> As a presentation attribute, `font-stretch` can be used as a CSS property. See the CSS {{cssxref("font-stretch")}} property for more information.
You can use this attribute with the following SVG elements:
- {{SVGElement("text")}}
- {{SVGElement("textPath")}}
- {{SVGElement("tref")}}
- {{SVGElement("tspan")}}
## Usage notes
<table class="properties">
<tbody>
<tr>
<th scope="row">Value</th>
<td>See {{cssxref("font-stretch", "", "#formal_syntax")}}</td>
</tr>
<tr>
<th scope="row">Default value</th>
<td><code>normal</code></td>
</tr>
<tr>
<th scope="row">Animatable</th>
<td>Yes</td>
</tr>
</tbody>
</table>
## Specifications
{{Specifications}}
## Browser compatibility
{{Compat}}
## See also
- {{cssxref("font-stretch")}}