FONT-VARIANT PROPERTY IN CSS

Lady Bird Johnson

Total Post:20

Points:140
Posted by  Lady Bird Johnson
 970  View(s)
Ratings:
Rate this:
Hi,

What is font-variant property in CSS and how to used it?

Thanks in advance. 
  1. AVADHESH PATEL

    Post:604

    Points:4228
    Re: font-variant property in CSS

    In a small-caps font, all lowercase letters are converted to uppercase letters. However, the converted uppercase letters appears in a smaller font size than the original uppercase letters in the text.

    The font-variant property specifies whether or not a text should be displayed in a small-caps font.

    e. g. 

    p.small
    {
    font-variant:small-caps;
    }

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!