Can I Use
caniuse.com โบ css-nesting
CSS Nesting | Can I use... Support tables for HTML5, CSS3, etc
CSS nesting provides the ability to nest one style rule inside another, with the selector of the child rule relative to the selector of the parent rule.
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ CSS โบ Guides โบ Nesting โบ Using
Using CSS nesting - MDN Web Docs
November 7, 2025 - That's why the color-black is inside a nested declaration even though it is a top level declaration in the original document. Note: Support for the rule was added with CSSNestedDeclarations. Browsers that do not support this interface may parse nested rules in the wrong order.
Is it safe to use native css nesting
Global support is around 70%, give or take. I certainly wouldn't use it with such a low amount amount of support. More on reddit.com
Nesting CSS @supports and @media queries - Stack Overflow
Both examples are valid CSS according to section 3 of the spec, and for the time being they seem to be consistently supported by browsers that understand both @supports rules and nested @media rules (also new to CSS3). More on stackoverflow.com
Is anyone using Nested CSS
I will once we hit 90-95% support! Unfortunately there's no fallback other than a separate file, and 86% support isn't quite high enough to justify the switch at this stage, alas! More on reddit.com
Begginer question: nested css or classes
What if you want to add another div inside the container that should not be a flexbox? Your approach will get pretty messy pretty fast. More on reddit.com
Videos
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ CSS โบ Guides โบ Nesting
CSS nesting - MDN Web Docs - Mozilla
November 18, 2025 - The CSS nesting module defines a syntax for nesting selectors, providing the ability to nest one style rule inside another, with the selector of the child rule relative to the selector of the parent rule.
Reddit
reddit.com โบ r/webdev โบ is it safe to use native css nesting
r/webdev on Reddit: Is it safe to use native css nesting
February 8, 2024 -
Iโve been keeping an eye on native css nesting for a while now and I was wondering if you would consider it a safe feature to use yet.
Here is the support on can I use
https://caniuse.com/css-nesting
Iโm talking about the clean version that doesnโt use the & prefix.
Clean css nesting without sass please tell me the future is here.
Top answer 1 of 5
289
Global support is around 70%, give or take. I certainly wouldn't use it with such a low amount amount of support.
2 of 5
125
Use postcss to transpile that into unnested CSS for now, and you can always yank the plugin once you have stats showing most of your site users can support that.
Chrome Developers
developer.chrome.com โบ docs โบ css-ui โบ css-nesting
CSS Nesting | Chrome for Developers
March 8, 2023 - There are two great ways to feature detect CSS nesting: use nesting or use @supports to check for nesting selector parsing capability.
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ CSS โบ CSS_nesting
CSS nesting - MDN Web Docs
November 3, 2025 - The CSS nesting module defines a syntax for nesting selectors, providing the ability to nest one style rule inside another, with the selector of the child rule relative to the selector of the parent rule.
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ CSS โบ Reference โบ Selectors โบ Nesting_selector
& nesting selector - CSS | MDN - MDN Web Docs
The CSS & nesting selector explicitly states the relationship between parent and child rules when using CSS nesting. It makes the nested child rule selectors relative to the parent element. Without the & nesting selector, the child rule selector selects child elements.
Can I Use
caniuse.com
"nesting" | Can I use... Support tables for HTML5, CSS3, etc
CSS nesting provides the ability to nest one style rule inside another, with the selector of the child rule relative to the selector of the parent rule.
W3C
w3.org โบ TR โบ css-nesting-1
CSS Nesting Module Level 1
January 22, 2026 - This module describes support for nesting a style rule within another style rule, allowing the inner ruleโs selector to reference the elements matched by the outer rule. This feature allows related styles to be aggregated into a single structure within the CSS document, improving readability ...