๐ŸŒ
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.
Discussions

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
๐ŸŒ r/webdev
137
253
February 8, 2024
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
๐ŸŒ 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
๐ŸŒ r/css
48
36
April 29, 2024
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
๐ŸŒ r/webdev
76
54
April 17, 2024
๐ŸŒ
DEV Community
dev.to โ€บ ekeijl โ€บ native-css-nesting-now-supported-by-all-major-browsers-3925
Native CSS nesting now supported by all major browsers! - DEV Community
August 30, 2023 - Today, Firefox version 117 has been released, which adds support for native nesting of CSS rules! With that addition, all modern desktop browsers now support it!
๐ŸŒ
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.
๐ŸŒ
LogRocket
blog.logrocket.com โ€บ home โ€บ native css nesting: what you need to know
Native CSS nesting: What you need to know - LogRocket Blog
June 4, 2024 - Native CSS nesting is when we nest ... without the help of a preprocessor like Sass or Less, but it now has partial or full support on many browsers....
๐ŸŒ
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.

๐ŸŒ
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.
๐ŸŒ
CSS { In Real Life }
css-irl.info โ€บ css-nesting-is-here
CSS { In Real Life } | CSS Nesting is Here
November 10, 2023 - In case you missed it, nesting is now supported natively in CSS in all major browsers! Nesting is a popular feature of preprocessors like Sass and has been, in my opinion, on of the main reasons to keep using preprocessors.
Find elsewhere
๐ŸŒ
LambdaTest
lambdatest.com โ€บ home โ€บ web technologies โ€บ browser compatibility of css nesting | cross browser compatibility score of css nesting
Cross Browser Compatibility Score of CSS Nesting
CSS Nesting shows a browser compatibility score of 75. This is a collective score out of 100 to represent overall cross browser compatibility support of a web technology.
๐ŸŒ
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.
๐ŸŒ
Ishadeed
ishadeed.com โ€บ article โ€บ css-nesting
CSS Nesting
November 19, 2023 - This year, native CSS nesting got supported in all major browsers: Chrome, Firefox, and Safari. This is a major CSS feature that will make it easier to write CSS.
๐ŸŒ
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.
๐ŸŒ
SitePoint
sitepoint.com โ€บ blog โ€บ css โ€บ an introduction to native css nesting
An Introduction to Native CSS Nesting โ€” SitePoint
November 7, 2024 - As of now, native CSS nesting is not supported by all browsers. It is currently a working draft in the CSS specification and is only supported in Firefox behind a flag. However, it is expected to gain wider support in the future as it becomes ...
๐ŸŒ
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.
๐ŸŒ
Trevor Lasn
trevorlasn.com โ€บ home โ€บ blog โ€บ css supports nesting now
CSS Supports Nesting Now
December 6, 2024 - As of late 2023, CSS nesting is supported in all major browsers.
๐ŸŒ
web.dev
web.dev โ€บ articles โ€บ css nesting improves with cssnesteddeclarations
CSS nesting improves with CSSNestedDeclarations | Articles | web.dev
October 8, 2024 - If you keep your nested declarations on top of the nested rules when using CSS nesting your code works mostly fine with all versions of all browsers that support CSS nesting.
๐ŸŒ
DevToolbox
devtoolbox.dedyn.io โ€บ home โ€บ blog โ€บ css nesting: complete guide with examples
CSS Nesting: Complete Guide with Examples | DevToolbox Blog
February 12, 2026 - Native nesting works in every modern browser (Chrome 120+, Firefox 117+, Safari 17.2+). Use & for pseudo-classes, pseudo-elements, and compound selectors. Bare class and type selectors nest without it.
๐ŸŒ
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 ...