CSS font-variant Property
This property sets a variation of the specified or default font family.
Syntax -
font-variant: normal | small-caps | inherit |
Now we will see the value with their description -
Value |
Description |
normal |
The browser displays a normal font, and this is the default value. |
small-caps |
The browser displays a small-caps font. |
Now we will see the example -
Example-
<html> |
Output -