Set the font stretch of an element with CSS

JavascriptWeb DevelopmentFront End Scripts

To set the font-stretch of an element, use the font-stretch property. Possible values could be normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.

<html>
   <head>
   </head>
   <body>
      <p style = "font-stretch:ultra-expanded;">
         If this doesn't appear to work, it is likely that your computer doesn't have a
         condensed or expanded version of the font being used.
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 14:32:36
Advertisements