• Skip to main content
  • Skip to search
  • Skip to select language
webdocs.dev
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Play New
  1. Tecnología para desarrolladores web
  2. Referencia de la API Web
  3. objeto Stylesheet
  4. Stylesheet.disabled

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

  1. StyleSheet
  2. Propiedades de instancia
    1. disabled
    2. href
    3. media
    4. ownerNode
    5. parentStyleSheet
    6. title
    7. type

Stylesheet.disabled

Resumen

Esta propiedad indica si es se aplica o no, la hoja de estilo actual.

Sintaxis

bool = stylesheet.disabled

Ejemplo

// si la hoja de estilo está deshabilitada...
if (stylesheet.disabled) {
   // apply style in-line
}

Especificación

disabled

Found a content problem with this page?

  • Edit the page on GitHub.
  • Report the content issue.
  • View the source on GitHub.
Want to get more involved? Learn how to contribute.

This page was last modified on 1 dic 2022 by MDN contributors.

webdocs.dev
  • GitHub

Support

  • Report an issue

Our communities

  • Discord

Developers

  • Web Technologies
  • Learn Web Development

Portions of this content are ©1998–2023 by individual contributors. Content available under a Creative Commons license.