MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

Folha de Estilo

Esta tradução está incompleta. Por favor, ajude a traduzir este artigo do Inglês.

An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.

Propriedades

StyleSheet.disabled
Is a Boolean representing whether the current stylesheet has been applied or not.
StyleSheet.href Read only
Returns a DOMString representing the location of the stylesheet.
StyleSheet.media Read only
Returns a MediaList representing the intended destination medium for style information.
StyleSheet.ownerNode Read only
Returns a Node associating this style sheet with the current document.
StyleSheet.parentStyleSheet Read only
Returns a StyleSheet including this one, if any; returns null if there aren't any.
StyleSheet.title Read only
Returns a DOMString representing the advisory title of the current style sheet.
StyleSheet.typeRead only
Returns a DOMString representing the style sheet language for this style sheet.

Especificações

Especificação Estado Comentário
CSS Object Model (CSSOM)
The definition of 'StyleSheet' in that specification.
Working Draft No change from Document Object Model (DOM) Level 2 Style Specification.
Document Object Model (DOM) Level 2 Style Specification
The definition of 'StyleSheet' in that specification.
Recommendation Initial definition.

Consultar também

Etiquetas do documento e contribuidores

 Contribuidores para esta página: mansil
 Última atualização por: mansil,