A RetroSearch Logo

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

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule/cssRules below:

CSSGroupingRule: cssRules property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. CSSGroupingRule
  4. cssRules

Filter sidebar

In this article
  1. CSS Object Model (CSSOM)
  2. CSSGroupingRule
  3. Instance properties
    1. cssRules
  4. Instance methods
    1. deleteRule()
    2. insertRule()
  5. Inheritance
    1. CSSRule
  6. Related pages for CSSOM
    1. CSS
    2. CSSConditionRule
    3. CSSFontFeatureValuesRule
    4. CSSFontPaletteValuesRule
    5. CSSImportRule
    6. CSSKeyframeRule
    7. CSSKeyframesRule
    8. CSSLayerBlockRule
    9. CSSLayerStatementRule
    10. CSSMediaRule
    11. CSSNamespaceRule
    12. CSSPageDescriptors
    13. CSSPageRule
    14. CSSPropertyRule
    15. CSSRule
    16. CSSRuleList
    17. CSSStartingStyleRule
    18. CSSStyleDeclaration
    19. CSSStyleRule
    20. CSSStyleSheet
    21. CSSSupportsRule
    22. CaretPosition
    23. MediaList
    24. MediaQueryList
    25. Screen
    26. StyleSheet
    27. StyleSheetList
  7. Guides
    1. CSS Declaration
    2. CSS Declaration Block
    3. Determining the dimensions of elements
    4. Managing screen orientation
    5. Using dynamic styling information
In this article CSSGroupingRule: cssRules property

Baseline Widely available

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

The cssRules property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects.

Value

a CSSRuleList.

Examples

js

let myRules = document.styleSheets[0].cssRules;
console.log(myRules);
Specifications Specification CSS Object Model (CSSOM)
# dom-cssgroupingrule-cssrules
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Apr 7, 2023 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