CSSConditionRule
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.
CSSConditionRule
インターフェイスを自訴すしているオブジェクトは、条件と文のブロックからなる単一の条件付き CSS アットルールを表します。
CSSConditionRule
からは CSSMediaRule
と CSSSupportsRule
の 2 つのオブジェクトが派生しています。
プロパティ
祖先である CSSRule
および CSSGroupingRule
から継承したプロパティもあります。
CSSConditionRule.conditionText
-
ルールの条件となるテキストを表します。
メソッド
独自のメソッドはありません。祖先である CSSRule
および CSSGroupingRule
から継承したメソッドがあります。
仕様書
Specification |
---|
CSS Conditional Rules Module Level 3 # the-cssconditionrule-interface |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
CSSConditionRule | ||||||||||||
conditionText |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.