Usage of font-variant property in CSS

JavascriptWeb DevelopmentFront End Scripts

The font-variant property is used to create a small-caps effect. Possible values are normal and small-caps.

<html>
   <head>
   </head>
   <body>
      <p style = "font-variant:small-caps;">
         This text will be rendered as small caps
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 11:02:56
Advertisements