CSS Property: font-variant
Small capitals. Replaces lowercase letters with uppercase letters that are a similar height to the original lowercase ones.

font-weight
, font-style
, font-variant
, and text-transform
.Possible Values
Value | Description |
---|---|
normal | Standard non-small-caps text. |
small-caps | Small capitals text. Selects a small-caps subset of a font family. If one is not found, small capitals may be created by scaling standard uppercase characters. |
inherit | |
initial | |
unset |
Example
h1 { font-variant: small-caps; }