webmonkey

 

font-variant

Page history last edited by Nick Miller 2 yrs ago

Font-Variant in CSS is used to show all text in small-caps font. It makes all text under this format into uppercase letters but in a smaller size, existing capital letters will be larger than the surrounding small-capped letters.

 

This applys to all elements, and is inherited.

 

Example 1:

 

p

{

font-variant: small-caps

}

 

Example 2:

<

span syle="font-variant:

small-caps">

Small Capped Text

>

 

Small Capped Text

 

 

 

http://www.w3schools.com/css/pr_font_font-variant.asp

 

http://www.eskimo.com/~bloo/indexdot/css/properties/font/fontvariant.htm

Comments (0)

You don't have permission to comment on this page.