Nesting
Newly available since 2023-12-11
CSS nesting allows for shorter selectors, easier reading, and more modularity by nesting rules inside others.
Learning resources on MDN
Browser support (view on caniuse.com)
- Chrome 120 Released on 2023-12-05
- Chrome Android 120 Released on 2023-12-05
- Edge 120 Released on 2023-12-07
- Firefox 117 Released on 2023-08-29
- Firefox for Android 117 Released on 2023-08-29
- Safari 17.2 Released on 2023-12-11
- Safari on iOS 17.2 Released on 2023-12-11
Surveys
- State of CSS 2024: usage/favorite_new_features question
- State of CSS 2024: usage/css_pain_points question
- State of CSS 2024: usage/css_missing_features question
- State of CSS 2024: usage/css_interoperability_features question
- State of CSS 2024: features/all_features question
Specifications
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature