Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface LayerBlockRule
import { type LayerBlockRule } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A @layer block rule.

Type Parameters

optional
D = Declaration
optional
M = MediaQuery

Properties

The location of the rule in the source file.

optional
name: String[] | null

The name of the layer to declare, or None to declare an anonymous layer.

rules: Rule<D, M>[]

The rules within the @layer rule.