1. Computing

Discuss in my forum

font-stretch

By , About.com Guide

font-stretch Description:

The font-stretch property selects a normal, condensed or extended form variation from a font family.

font-stretch in CSS Versions:

font-stretch Syntax:

font-stretch: normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | initial | inherit

The keywords have the following ordering, from narrowest to widest:
  1. ultra-condensed
  2. extra-condensed
  3. condensed
  4. semi-condensed
  5. normal
  6. semi-expanded
  7. expanded
  8. extra-expanded
  9. ultra-expanded

The keywords wider and narrower tell the user agent to use a font family that is one step wider or narrower than the parent element.

font-stretch Initial Value:

normal

font-stretch Applies To:

All elements.

font-stretch Inheritance:

This property is inherited.

font-stretch Browser Support:

None

font-stretch Example:


<p style="font-family: Arial;">This is Arial <span style="font-stretch:narrower;">And this is narrower Arial.</span></p>

font-stretch Special Notes:

  • Not all font families contain condensed or expanded faces.

More font-stretch Information

Return to the Style Library

©2013 About.com. All rights reserved.