Syntax: | font-variant: <value> |
---|---|
Possible Values: | normal | small-caps |
Initial Value: | normal |
Applies to: | All elements |
Inherited: | Yes |
The font-variant property determines if the font is to display in normal or small-caps. Small-caps are displayed when all the letters of the word are in capitals with uppercase characters slightly larger than lowercase. Later versions of CSS may support additional variants such as condensed, expanded, small-caps numerals or other custom variants. An example of a font-variant assignment would be:
SPAN { font-variant: small-caps }
Home, Forums, Reference, Tools, FAQs, Articles, Design, Links
Copyright © 1996 - 2006. All rights reserved.