HTML Dog
Skip to navigation

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

ValueDescription
normalStandard non-small-caps text.
small-capsSmall 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; }