CssContainerCondition Class

https://drafts.csswg.org/css-conditional-5/#dictdef-csscontainercondition

public sealed class CssContainerCondition

Constructors

NameDescription
CssContainerCondition()

CssContainerCondition()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public CssContainerCondition()

No documentation is available.

Properties

NameDescription
NameGets the name of the container targeted by the condition, or an empty string when the condition has no name.
QueryGets the text of the container query of the condition.

Gets the name of the container targeted by the condition, or an empty string when the condition has no name.

public required string Name { get; init; }

Gets the text of the container query of the condition.

public required string Query { get; init; }