Replies: 2 comments
-
I use NextJS 15.2.4 |
Beta Was this translation helpful? Give feedback.
-
I guess this is a problem with layers. Your Check it out here, https://stackblitz.com/edit/nextjs-cuywjrml?file=app%2Fglobals.css: :where(p) {
color: red;
}
/* :is(p) {
color: blue;
} */
@layer utils {
:is(p) {
color: blue;
}
} Removing the comment from the In your case it is the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
In NextJS, my 'where' default style overrides my class name style. I would like to inquire about the situation. So much so that I now have to use inline styles to override it

Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions