Font Variant


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 }

CSS Index ~ CSS Structure ~ CSS Properties