Class CSSFunctionConditionNode
CSS function conditional block representation.
public sealed record CSSFunctionConditionNode : IEquatable<CSSFunctionConditionNode>
- Inheritance
-
CSSFunctionConditionNode
- Implements
- Inherited Members
Constructors
CSSFunctionConditionNode(ImmutableArray<CSSFunctionNode>, string)
CSS function conditional block representation.
public CSSFunctionConditionNode(ImmutableArray<CSSFunctionNode> Children, string ConditionText)
Parameters
ChildrenImmutableArray<CSSFunctionNode>Block body.
ConditionTextstringThe condition text.
Properties
Children
Block body.
public ImmutableArray<CSSFunctionNode> Children { get; init; }
Property Value
ConditionText
The condition text.
public string ConditionText { get; init; }
Property Value
ContainerQueries
Container query for this conditional block. Only one type of condition should be set.
public CSSContainerQuery? ContainerQueries { get; init; }
Property Value
Media
Media query for this conditional block. Only one type of condition should be set.
public CSSMedia? Media { get; init; }
Property Value
Navigation
@navigation condition. Only one type of condition should be set.
public CSSNavigation? Navigation { get; init; }
Property Value
Supports
@supports CSS at-rule condition. Only one type of condition should be set.
public CSSSupports? Supports { get; init; }