You are here : cssCSS 3font-variant

font-variant - CSS 3

In a small-caps font, all lowercase letters are converted to uppercase letters.
However, the converted uppercase letters appears in a smaller font size than the original uppercase letters in the text.The font-variant property specifies whether or not a text should be displayed in a small-caps font.


Syntax

font-variant: normal|small-caps|initial|inherit;


Example

p.small
	{
	   
	font-variant: small-caps;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference