Re: [csswg-drafts] [css-cascade] A way to escape the current cascade layer and render styles in the parent layer (`@layer ..`) (#11010)

It seems to me like this issue is tool-specific, and the solution should be provided by that tool.  The ideal solution here is that you specify what layer each selector is in, instead of having a default that you need to break out of. That's already how things work, if a third party wasn't writing (and layering) all your layers for you. I'm not sure we can solve problems created by specific tools, unless there's some real good reason the tools themselves can't provide a solution.

Could this become a Tailwind syntax, rather than being added to CSS? It seems to me like that should be possible.

-- 
GitHub Notification of comment by mirisuzanne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11010#issuecomment-2403257526 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 October 2024 19:18:58 UTC