Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The style
read-only property of the FontData
interface returns the style of the font face.
This is the value used to select the style of the font you want to use, for example inside the font-style
property.
Examples include:
- UltraLight
- Regular
- Heavy
- Medium Italic
- Extrabold