Menu Home

font-variation-settings

osbo.com | CSS | Properties | font-variation-settings

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