Menu Samaritan's Purse

FONT-VARIATION-SETTINGS

The font-variation-settings property provides low-level control over OpenType or TrueType font variations.

SYNTAX

CSS

font-variation-settings: value;

JS

object.style.fontVariationSettings = "value";

VALUES

<'font-variation-settings'> = normal | [ <string> <number>]#
normal

None of the features are enabled.

<string>

A case-sensitive OpenType or TrueType variation axis name.

<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

INITIAL

normal

EXAMPLES

NORMAL

STRING NUMBER

JS

World Wide Web Consortium (W3C)