web api interface
StyleSheet
An object implementing the StyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.
Instance properties
disabled- : A boolean value representing whether the current stylesheet has been applied or not.
hrefRead only- : Returns a string representing the location of the stylesheet.
mediaRead only- : Returns a
MediaListrepresenting the intended destination medium for style information.
- : Returns a
ownerNodeRead only- : Returns a
Nodeassociating this style sheet with the current document.
- : Returns a
parentStyleSheetRead only- : Returns a
StyleSheetincluding this one, if any; returnsnullif there aren’t any.
- : Returns a
titleRead only- : Returns a string representing the advisory title of the current style sheet.
typeRead only- : Returns a string representing the style sheet language for this style sheet.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.