Home Menu

font-variant-caps

The font-variant-caps CSS property allows the selection of alternate glyphs used for small or petite capitals or for titling.

Syntax

CSS

font-variant-caps: value;

JS

object.style.fontVariantCaps = "value";

Values

<'font-variant-caps'> = normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps
normal

None of the features are enabled.

small-caps

Enables display of small capitals.

all-small-caps

Enables display of small capitals for both upper and lowercase letters.

petite-caps

Enables display of petite capitals.

all-petite-caps

Enables display of petite capitals for both upper and lowercase letters.

unicase

Enables display of mixture of small capitals for uppercase letters with normal lowercase letters.

titling-caps

Enables display of titling capitals.

Initial

normal

Examples

all-petite-caps

all-small-caps

normal

petite-caps

small-caps

titling-caps

unicase

JS

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms