MDN self-hosted library · e01.org

CSSGroupingRule

CSSOM

no runnable cells web-api-interface upstream source

CSSOM

The CSSGroupingRule interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.

Instance properties

This interface also inherits properties from CSSRule.

  • CSSGroupingRule.cssRules
  • : Returns a CSSRuleList of the CSS rules in the media rule.

Instance methods

This interface also inherits methods from CSSRule.

  • CSSGroupingRule.deleteRule
  • : Deletes a rule from the style sheet.
  • CSSGroupingRule.insertRule
  • : Inserts a new style rule into the current style sheet.

Specifications

Browser compatibility

See also