FontFace.variationSettings

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The variationSettings property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.

This property is equivalent to the font-variation-settings descriptor.

Value

A string containing a descriptor.

Specifications

Specification
CSS Font Loading Module Level 3
# dom-fontfacedescriptors-variationsettings

Browser compatibility

BCD tables only load in the browser