CSSGroupingRule

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{ APIRef("CSSOM") }}

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

{{InheritanceDiagram}}

Instance properties

_This interface also inherits properties from {{domxref("CSSRule")}}._

  • {{domxref("CSSGroupingRule.cssRules")}} {{ReadOnlyInline}}
  • : Returns a {{domxref("CSSRuleList")}} of the CSS rules in the media rule.

Instance methods

_This interface also inherits methods from {{domxref("CSSRule")}}._

  • {{domxref("CSSGroupingRule.deleteRule")}}
  • : Deletes a rule from the style sheet.
  • {{domxref("CSSGroupingRule.insertRule")}}
  • : Inserts a new style rule into the current style sheet.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also