mozilla

Revision 4978 of font-stretch

  • Revision slug: SVG/Attribute/font-stretch
  • Revision title: font-stretch
  • Revision id: 4978
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment page created, 105 words added

Revision Content

« SVG Attribute reference home

The font-stretch attribute indicates the desired amount of condensing or expansion in the glyphs used to render the text.

As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see {{ cssxref("font-stretch","CSS font-stretch") }} for further information.

Usage context

Categories Presentation attribute
Value normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Example

Elements

The following elements can use the font-stretch attribute

See also

  • {{ cssxref("font-stretch","CSS font-stretch") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>The <code>font-stretch</code> attribute indicates the desired amount of condensing or expansion in the glyphs used to render the text.</p>
<p>As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see {{ cssxref("font-stretch","CSS font-stretch") }} for further information.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Presentation attribute</td> </tr> <tr> <th scope="row">Value</th> <td><strong>normal</strong> | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit</td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG11/text.html#FontStretchProperty" title="http://www.w3.org/TR/SVG11/text.html#FontStretchProperty">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<h2 id="Example">Example</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>font-stretch</code> attribute</p>
<ul> <li><a href="/en/SVG/Element#Text_content_elements" title="en/SVG/Element#Text_content_elements">Text content elements</a> »</li>
</ul>
<h2 id="See_also">See also</h2>
<ul> <li>{{ cssxref("font-stretch","CSS font-stretch") }}</li>
</ul>
Revert to this revision