CSS font-variant


The font-variant property is used to display text in a small-caps font, which means that all the lowercase letters are converted to uppercase letters, but all the letters in the small-caps font have a smaller font size compared to the rest of the text. This is useful for secondary, less important info such as stats, figures, or footer information. Possible values are simply normal or small-caps.

Example

The font-variant property is used to display text in a small-caps font, which means that all the lowercase letters are converted to uppercase letters, but all the letters in the small-caps font have a smaller font size compared to the rest of the text. This is useful for secondary, lessimportant info such as stats, figures, or footer information. Possible values are simply normal or small-caps.

The font-variant property is used to display text in a small-caps font, which means that all the lowercase letters are converted to uppercase letters, but all the letters in the small-caps font have a smaller font size compared to the rest of the text. This is useful for secondary, lessimportant info such as stats, figures, or footer information. Possible values are simply normal or small-caps.