A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/ja/docs/Web/API/CSSRule/parentStyleSheet below:

CSSRule: parentStyleSheet プãƒãƒ‘ティ - Web API

MDN Web Docs
  1. 開発者向けのウェブ技術
  2. Web API
  3. CSSRule
  4. parentStyleSheet

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

Filter sidebar

この記事では
  1. CSS オブジェクトモデル (CSSOM)
  2. CSSRule
  3. インスタンスプロパティ
    1. cssText
    2. parentRule
    3. parentStyleSheet
    4. type 非推奨;
  4. CSSOM に関連するページ
    1. CSS
    2. CSSConditionRule
    3. CSSFontFeatureValuesRule
    4. CSSFontPaletteValuesRule
    5. CSSGroupingRule
    6. CSSImportRule
    7. CSSKeyframeRule
    8. CSSKeyframesRule
    9. CSSLayerBlockRule
    10. CSSLayerStatementRule
    11. CSSMediaRule
    12. CSSNamespaceRule
    13. CSSPageDescriptors
    14. CSSPageRule
    15. CSSPropertyRule
    16. CSSRuleList
    17. CSSStartingStyleRule
    18. CSSStyleDeclaration
    19. CSSStyleRule
    20. CSSStyleSheet
    21. CSSSupportsRule
    22. CaretPosition
    23. MediaList
    24. MediaQueryList
    25. Screen
    26. StyleSheet
    27. StyleSheetList
  5. ガイド
    1. CSS 宣言
    2. CSS 宣言ブロック
    3. 要素の寸法の決定
    4. 画面の向きの制御
    5. 動的なスタイル情報の利用
この記事では CSSRule: parentStyleSheet プロパティ

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.

parentStyleSheet は CSSRule インターフェイスのプロパティで、現在のルールを定義している StyleSheet オブジェクトを返します。

値

StyleSheet オブジェクトです。

例

js

const docRules = document.styleSheets[0].cssRules;
console.log(docRules[0].parentStyleSheet == document.styleSheets[0]); // returns true
仕様書 Specification CSS Object Model (CSSOM)
# dom-cssrule-parentstylesheet
ブラウザーの互換性 Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on 2023年12月10日 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4