MDN self-hosted library · e01.org

CSSConditionRule

CSSOM

no runnable cells web-api-interface upstream source

CSSOM

An object implementing the CSSConditionRule interface represents a single condition CSS at-rule, which consists of a condition and a statement block.

Three objects derive from CSSConditionRule: CSSMediaRule, CSSContainerRule and CSSSupportsRule.

Instance properties

Inherits properties from its ancestors CSSGroupingRule and CSSRule.

  • CSSConditionRule.conditionText
  • : Represents the text of the condition of the rule.

Instance methods

Inherits methods from its ancestors CSSGroupingRule and CSSRule.

Specifications

Browser compatibility

See also