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.
Example:
SPAN { font-variant: small-caps }
See example in action