Working Draft · css-nesting

CSS Nesting Module

1 selector 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

&

Selector Not in any browser yet

Spec When using a nested style rule, one must be able to refer to the elements matched by the parent rule; that is, after all, the entire point of nesting. To accomplish that, this specification defines a new selector, the nesting selector, written as & (U+0026 AMPERSAND).

Syntax

'&'

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