CSS fontvariant Property (original) (raw)
CSS font-variant Property
Last Updated : 27 Aug, 2024
The **font-variant property is used to convert all lowercase letters into uppercase letters. However, the converted upper letters appear too small compared to the original uppercase letters.
**Syntax:
font-variant: normal|small-caps|initial;
**Default Value: normal
**Property Values:
- **normal: It has a default value. It specifies a normal font size.
- **small-caps: It converts all the lowercase letters into uppercase letters.
- **initial: It sets the property to its default value.
**Example: In this example, we use font-variant: normal; property.
html `