| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/en-US/docs/Web/API/CSSGroupingRule | [Back] [Original] |
Get to know MDN better
This feature is well established and works across many devices and browser versions. Its been available across browsers since April 2021.
The CSSGroupingRule interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.
This interface also inherits properties from CSSRule.
CSSGroupingRule.cssRules Read onlyReturns a CSSRuleList of the CSS rules in the media rule.
This interface also inherits methods from CSSRule.
CSSGroupingRule.deleteRuleDeletes a rule from the style sheet.
CSSGroupingRule.insertRuleInserts a new style rule into the current style sheet.
| Specification |
|---|
| CSS Object Model (CSSOM) # the-cssgroupingrule-interface |
This page was last modified on Nov 7, 2025 by MDN contributors.
CSSGroupingRuleCSSCSSConditionRuleCSSFontFeatureValuesMapCSSFontFeatureValuesRuleCSSFontPaletteValuesRuleCSSFunctionDeclarationsCSSFunctionDescriptorsCSSFunctionRuleCSSImportRuleCSSKeyframeRuleCSSKeyframesRuleCSSLayerBlockRuleCSSLayerStatementRuleCSSMediaRuleCSSNamespaceRuleCSSPageDescriptorsCSSPageRuleCSSPropertyRuleCSSRuleCSSRuleListCSSStartingStyleRuleCSSStyleDeclarationCSSStylePropertiesCSSStyleRuleCSSStyleSheetCSSSupportsRuleCaretPositionMediaListMediaQueryListScreenStyleSheetStyleSheetListYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |