Class CSSFunctionConditionNode
CSS function conditional block representation.
public sealed class CSSFunctionConditionNode
- Inheritance
-
CSSFunctionConditionNode
- Inherited Members
Properties
Children
Block body.
[JsonPropertyName("children")]
public CSSFunctionNode[] Children { get; set; }
Property Value
ConditionText
The condition text.
[JsonPropertyName("conditionText")]
public string ConditionText { get; set; }
Property Value
ContainerQueries
Container query for this conditional block. Only one type of condition should be set.
[JsonPropertyName("containerQueries")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSContainerQuery? ContainerQueries { get; set; }
Property Value
Media
Media query for this conditional block. Only one type of condition should be set.
[JsonPropertyName("media")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSMedia? Media { get; set; }
Property Value
Navigation
@navigation condition. Only one type of condition should be set.
[JsonPropertyName("navigation")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSNavigation? Navigation { get; set; }
Property Value
Supports
@supports CSS at-rule condition. Only one type of condition should be set.
[JsonPropertyName("supports")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSSupports? Supports { get; set; }