The CSS font loading module describes events and interfaces used for dynamically loading font resources.
fontFace interface FontFace() constructorfontFace.family propertyfontFace.style propertyfontFace.weight propertyfontFace.stretch propertyfontFace.unicodeRange propertyfontFace.variant propertyfontFace.featureSettings propertyfontFace.variationSettings propertyfontFace.display propertyfontFace.ascentOverride propertyfontFace.descentOverride propertyfontFace.lineGapOverride propertyfontFace.load() method (returns a promise)fontFaceSet interfacefontFaceSetLoadEvent eventOverview of the CSS Font Loading API, which provide events and interfaces for dynamically loading font resources.
@font-face at-rule@font-feature-values at-ruleCSSFontFaceRule interfacefonts property (returns the FontFaceSet object instance)fonts property (returns the FontFaceSet object instance)Promise object| Specification |
|---|
| CSS Font Loading Module Level 3> |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_font_loading