CSS font-variant
Also see the full, alphabetical list of CSS properties
The CSS font-variant property is used for displaying the font in small caps.
Tip: Use CSS font to set the most common font properties in one go.
| Syntax: | font-variant: <value> |
| Possible Values: |
|
| Initial Value: | normal |
| Applies to: | All elements |
| Inherited: | Yes |
| Media: | Visual |
| Example: |
p {font-variant: small-caps}
|
| Try it yourself! |
|

