CSSGroupingRule

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

CSSRule CSSGroupingRule

Properties

This interface also inherits properties from CSSRule.

CSSGroupingRule.cssRulesRead only

Returns a CSSRuleList of the CSS rules in the media rule.

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

Specification
CSS Object Model (CSSOM)
# the-cssgroupingrule-interface

Browser compatibility

BCD tables only load in the browser

See also