例項屬性
StyleSheet.disabled-
一個布林值,表示當前樣式表是否已被應用。
StyleSheet.href只讀-
返回一個表示樣式表位置的字串。
StyleSheet.media只讀-
返回一個
MediaList,表示樣式資訊的預期目標介質。 StyleSheet.ownerNode只讀-
返回一個
Node,它將此樣式表與當前文件關聯起來。 StyleSheet.parentStyleSheet只讀-
返回包含此樣式表的
StyleSheet,如果有的話;如果沒有,則返回null。 StyleSheet.title只讀-
返回一個表示當前樣式表諮詢性標題的字串。
StyleSheet.type只讀-
返回一個表示此樣式表的樣式表語言的字串。
規範
| 規範 |
|---|
| CSS 物件模型 (CSSOM) # the-stylesheet-interface |
瀏覽器相容性
載入中…