Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. CSSConditionRule

CSSConditionRule

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨April 2021⁩.

An object implementing theCSSConditionRule interface represents a single condition CSSat-rule, which consists of a condition and a statement block.

Three objects derive fromCSSConditionRule:CSSMediaRule,CSSContainerRule andCSSSupportsRule.

CSSRule CSSGroupingRule CSSConditionRule

Instance properties

Inherits properties from its ancestorsCSSGroupingRule andCSSRule.

CSSConditionRule.conditionTextRead only

Represents the text of the condition of the rule.

Instance methods

Inherits methods from its ancestorsCSSGroupingRule andCSSRule.

Specifications

Specification
CSS Conditional Rules Module Level 3
# the-cssconditionrule-interface

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp