Blog

Cross Browser font-stretch

shutterstock_234378844
BLOG / Web Development

Cross Browser font-stretch

Font-stretch necessary if a font has multiple types of variations based on the width of characters, the `font-stretch` property allows the appropriate one to be selected. The property in itself does not cause the browser to stretch to a font.

Browser Support

This feature is already supported by a few major browsers including Firefox, Internet Explorer 11, Microsoft Edge, .

Code Example

You can use font-stretch like this:

#test {
  font-stretch: ultra-condensed;
}

More Information

More information can be found here.

Leave your thought here

Your email address will not be published. Required fields are marked *