CSS font-variant Property


All lowercase letters are converted to uppercase letters using the font-variant property. However, the converted uppercase letters have a smaller font size than the original uppercase letters.

Syntax

Example

Preview

Property Values

Value Description
normal The browser uses a standard font. This is the default setting.
small-caps The browser is using a small-caps font.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
font-variant 1.0 1.0 1.0 4.0 3.5