Home > DeveloperSection > Forums > font-variant property in CSS
Lady Bird Johnson
Lady Bird Johnson

Total Post:20

Points:140
Posted on    June-14-2013 9:26 AM

 CSS-CSS3 CSS-CSS3 
Ratings:


 1 Reply(s)
 711  View(s)
Rate this:
Hi,

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

Thanks in advance. 


AVADHESH PATEL

Total Post:604

Points:4228
Posted on    June-15-2013 5:09 AM

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;
}


Don't want to miss updates? Please click the below button!

Follow MindStick