MDN self-hosted library · e01.org

FontFace: style property

CSS Font Loading API

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

CSS Font Loading API

The style property of the FontFace interface retrieves or sets the font's style.

This property is equivalent to the font-style descriptor.

Value

A string containing the descriptors defined in the style sheet's @font-face rule.

Specifications

Browser compatibility