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

font-variation-settings

Description

The font-variation-settings property for CSS 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

1 · normal

2 · string number · ital

3 · string number · opsz

4 · string number · slnt

5 · string number · wdth

6 · string number · wght

7 · JS