Create a small-caps effect for CSS

To create a small-caps effect, use the font-variant property.

Example

You can try to run the following code to learn how to work with font-variant property in CSS:

   
   
   
      

         Asia, Antartica, Africa are continents      

   
Updated on: 2020-01-30T09:25:02+05:30

549 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements