HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

font-variant-caps

Description

The font-variant-caps property for CSS 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

1 · all-petite-caps

2 · all-small-caps

3 · normal

4 · petite-caps

5 · small-caps

6 · titling-caps

7 · unicase

8 · JS