
Educators: Earn a free Gold upgrade by joining the PBwiki Back To School Challenge.
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
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |