Menu Riverview Church

FONT-VARIANT

The font-variant property is shorthand for all font-variant subproperties.

SYNTAX

CSS

font-variant: value;

JS

object.style.fontVariant = "value";

VALUES

<'font-variant'> = [normal | small-caps]
none

Sets font-variant-ligatures to none and resets all other font feature properties to their initial value.

normal

Resets all subproperties of font-variant to their inital value.

small-caps

Enables display of small capitals.

INITIAL

normal

EXAMPLES

NONE

NORMAL

SMALL-CAPS

JS

INTERNAL

font

font-family

font-size

font-stretch

font-style

font-weight

line-height

EXTERNAL

World Wide Web Consortium (W3C)