Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Is there a way to test for css nesting support? - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
2y ago
•
9 replies
patwasalinguist
Is there a way to test for css nesting support?
I
’ve run into some trouble with nesting support on mobile browsers
, and I was thinking it might make sense to make a non
-nested version until browser support is wider
. I would like to do something like
:
@supports
(
nesting
){
.nested
{
.
selector
{
color
:
red
;
}
}
}
@supports
(
nesting
){
.nested
{
.
selector
{
color
:
red
;
}
}
}
Obviously
nesting
nesting
won
’t work there
, is there some way to do the equivalent
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Is CSS nesting ready for production?
KP-C
Kevin Powell - Community / front-end
2y ago
css nesting
KP-C
Kevin Powell - Community / front-end
3y ago
native CSS nesting
KP-C
Kevin Powell - Community / front-end
2y ago
CSS Nesting Conventions
KP-C
Kevin Powell - Community / front-end
3y ago