Set the font-stretch property for HTML elements:
h1
{
font-stretch:ultra-condensed;
}
Browser support
Ie | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|
Font-stretch properties are not supported by all major browsers.
Definitions and usages
The font-stretch property scales and deforms the current font-family.
Default: | normal |
---|---|
Inheritance: | yes |
Version: | CSS2 |
JavaScript syntax: | object .style.fontStretch="ultra-expanded" |
Possible values
Value | Describe |
---|---|
normal | The default. Set the scale to standard. |
wider | Set the stretch scale to a further stretch value |
narrower | Set the shrinkage ratio to a further shrinkage value |
|
Set the scale of font-family. "ultra-expanded" is the widest value, while "ultra-expanded" is the narrowest value. |