Version: Level 2
Compability: Currently not supported by any browser.
-
Syntax:
- font-stretch : narrower |wider |ultra-condensed |extra-condensed |condensed |semi-condensed |normal |semi-expanded |expanded |extra-expanded |ultra-expanded
- ultra-condensed
extra-condensed
condensed
semi-condensed
normal
semi-expanded
expanded
extra-expanded
ultra-expanded -
The order descends from narrowest to widest in value. The normal value is the normal width of the font as displayed by the browser.
- wider
- The wider value expands the font to the next larger width.
- narrower
- The narrower value contracts the font to the next smaller width.
The font-stretch property is used to expand or contract (condense) the horizontal width of the font. The change is relative to the normal width of the font as displayed by the browser. This property is inherited.
Examples
Code:
p {font-stretch: wider;}
p {font-stretch: ultra-expanded;}
Language(s):
CSS2
See Also: