Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. StyleSheet

StyleSheet

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

An object implementing theStyleSheet interface represents a single style sheet. CSS style sheets will further implement the more specializedCSSStyleSheet interface.

Instance properties

StyleSheet.disabled

A boolean value representing whether the current stylesheet has been applied or not.

StyleSheet.hrefRead only

Returns a string representing the location of the stylesheet.

StyleSheet.mediaRead only

Returns aMediaList representing the intended destination medium for style information.

StyleSheet.ownerNodeRead only

Returns aNode associating this style sheet with the current document.

StyleSheet.parentStyleSheetRead only

Returns aStyleSheet including this one, if any; returnsnull if there aren't any.

StyleSheet.titleRead only

Returns a string representing the advisory title of the current style sheet.

StyleSheet.typeRead only

Returns a string representing the style sheet language for this style sheet.

Specifications

Specification
CSS Object Model (CSSOM)
# the-stylesheet-interface

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp