Anders Kaseorg
|
5cdf38b1f7
|
styles: Use standard CSS nesting syntax.
CSS nesting is being standardized with the syntactic restriction that
the nested selector cannot start with an identifier. This was
necessary to allow the syntax to be parsed without lookahead.
https://webkit.org/blog/13813/try-css-nesting-today-in-safari-technology-preview/
https://www.w3.org/TR/css-nesting-1/#syntax
The postcss-nesting plugin used by postcss-preset-env enforces this
restriction.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2023-03-20 11:26:30 -07:00 |