Table of Contents

Class CSSLayerBlockRule

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CSSLayerBlockRule represents a @layer block rule.

[Value("CSSLayerBlockRule")]
public class CSSLayerBlockRule : CSSGroupingRule
Inheritance
CSSLayerBlockRule
Inherited Members

Remarks

Constructors

CSSLayerBlockRule()

public CSSLayerBlockRule()

Properties

Name

The read-only name property of the CSSLayerBlockRule interface represents the name of the associated cascade layer.

[Value("name")]
public string Name { get; }

Property Value

string

A string containing the name of the layer, or "" if the layer is anonymous.

Remarks

-The statement declaration of an {{cssxref("@layer")}} is represented by a CSSLayerStatementRule.
-How to create named cascade layers in CSS.

See also on MDN