CSSConditionRule
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 CSSRule
and CSSGroupingRule
.
CSSConditionRule.conditionText
-
Represents the text of the condition of the rule.
Instance methods
No specific methods; inherits methods from its ancestors CSSRule
and CSSGroupingRule
.
Specifications
Specification |
---|
CSS Conditional Rules Module Level 3 # the-cssconditionrule-interface |
Browser compatibility
BCD tables only load in the browser