An object implementing the CSSConditionRule
interface represents a single condition CSS at-rule
, which consists of a condition and a statement block.
Two objects derive from CSSConditionRule
: CSSMediaRule
and CSSSupportsRule
.
Properties
Inherits properties from its ancestors CSSRule
and CSSGroupingRule
.
CSSConditionRule.conditionText
- Represents the text of the condition of the rule.
Methods
No specific methods; inherits methods from its ancestors CSSRule
and CSSGroupingRule
.
Specifications
Specification | Status | Comment |
---|---|---|
CSS Conditional Rules Module Level 3 The definition of 'CSSConditionRule' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
BCD tables only load in the browser