CSS’s font-stretch Property

CSS’s font-stretch property allows you to expand and condense text. As of right now, the property isn’t supported on any of the major browsers, but it’s still an interesting property to learn about. Here’s how it would look to use it in your CSS:

  1. p{
  2. font-stretch: expanded;
  3. }

The values that this properties will take are: normal (this is the default), initial, inherit, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, and ultra-expanded. Font-stretch can also be included as part of the font property shorthand, although this isn’t recommended because of how little support the CSS property currently has.

Join us in our newest publication:

Share and Enjoy !

0Shares
0 0