[KongchangAI]
Concept原生嵌套 / CSS 嵌套

CSS Nesting

Native CSS nesting syntax that allows rules to be nested inside selectors, reducing reliance on preprocessors such as Sass and on build tooling.

Timeline (last 90 days)

Oct 21

Native CSS Nesting uses & to explicitly reference the parent selector (omissible in most cases) and supports nested selectors, nested media queries and nested @layer.

Unverified50%
Oct 21

Native CSS Nesting does not support programming features such as variables, mixins and functions in Sass, so it replaces the structural organization part of preprocessors, not all of their capabilities.

Unverified50%

All Facts (2)

Source Articles