Editor's Draft · css-extensions

CSS Extensions

1 at-rule defined by this specification, 0 of them known to at least one browser (the others are badged Not in any browser yet).

The feature in detail

@custom-selector

At-rule Not in any browser yet

No prose in the spec's definition and no MDN page yet: the spec link below is the only description.

Syntax

@custom-selector <custom-selector> <selector-list> ;

Formal grammar from the specification, as webref extracts it: the latest level's definition, sometimes ahead of what browsers implement.