Updated on Kisan Patel
The font variation can be achieved by making setting the font in upper case or in lower case.
We use font-variant
property for this purpose.
Value | Meaning |
---|---|
normal | The font can be displayed in normal form. |
small-caps | The font can be displayed in small capital letters. |
Syntax
font-variant: normal|small-caps;
Example
h1 { font-variant: small-caps; }