MDN self-hosted library · e01.org

FontFace: variant property

CSS Font Loading API

no runnable cells web-api-instance-property upstream source

CSS Font Loading API

The variant property of the FontFace interface programmatically retrieves or sets font variant values.

Value

A string containing a descriptor as it would be defined in a style sheet's @font-face rule.

Specifications

Browser compatibility