FontFace: style property
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
Specification |
---|
CSS Font Loading Module Level 3 # dom-fontface-style |
Browser compatibility
BCD tables only load in the browser