CssSupportsRule Class

https://drafts.csswg.org/css-conditional-3/#the-csssupportsrule-interface

public sealed class CssSupportsRule : CssConditionRule
Inheritance
CssConditionRule CssSupportsRule

Properties

NameDescription
ConditionTextGets the text of the supports condition of the rule.
MatchesGets a value indicating whether the supports condition of the rule currently evaluates to true.
TypeGets the legacy numeric type of the rule: CssRule.SupportsRule for @supports rules.

ConditionText

CSSRules.cs

Gets the text of the supports condition of the rule.

public override string ConditionText { get; }

Property value

string

Gets a value indicating whether the supports condition of the rule currently evaluates to true.

public bool Matches { get; }

Gets the legacy numeric type of the rule: CssRule.SupportsRule for @supports rules.

public override ushort Type { get; }

Property value

ushort