Styling not applied when using @layer
Answered
Russian Spaniel posted this in #help-forum
Russian SpanielOP
Anyone using @layer? I'm doing the following, which I think is right? 🤔
But no styles are applied.
Another pair of eyes would be most appreciative! 😄
Thanks
@layer reset,
default,
components;
@import url("./preflight.css") layer(reset);
@import url("./uno2.css") layer(default);
@import url("./raikou.css") layer(components);But no styles are applied.
Another pair of eyes would be most appreciative! 😄
Thanks
2 Replies
Russian SpanielOP
Looked at:
https://github.com/vercel/next.js/discussions/43525
Will try using postcss-import to see if it resolves the issue soon.
https://github.com/vercel/next.js/discussions/43525
Will try using postcss-import to see if it resolves the issue soon.
Russian SpanielOP
postcss-import solved it.
Answer