• Skip to main content
  • Skip to search
  • Skip to select language
MDN Logo
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. FontFace
  4. FontFace.style

Table of contents

  • Value
  • Specifications
  • Browser compatibility

FontFace.style

The style property of the FontFace interface retrieves or sets the font's style. It is equivalent to the font-style descriptor.

Value

A CSSOMString 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

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Mar 24, 2022, by MDN contributors

Related Topics

  1. CSS Font Loading API
  2. FontFace
  3. Constructor
    1. FontFace()
  4. Properties
    1. ascentOverride
    2. descentOverride
    3. display
    4. family
    5. featureSettings
    6. lineGapOverride
    7. loaded
    8. status
    9. stretch
    10. style
    11. unicodeRange
    12. variant
    13. variationSettings
    14. weight
  5. Methods
    1. load()
  6. Related pages for CSS Font Loading API
    1. FontFaceSet
    2. FontFaceSetLoadEvent
    3. FontFaceSource
MDN Logo
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2025 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies