Globals.css isssue
Unanswered
CHEEMDA MAN posted this in #help-forum
as in image you can see i have a globals.css in my auth folder and i gaved some css in that when any page of auth folder push user to public or root page then still the auth folder css is visible how can i fix it?
5 Replies
i want to use multipule globals css in my code
i was create 1 extra globals.css in my auth folder to gave seprate css to some tag in the files who are in my auth folder
and the globals.css was done this work perfecty
but when the page who is in my auth folder redirecting the user to any page who's file is in my public folder the the css which i set in globals.css of auth folder have to be deactive but it was still active and breaking design
hope this workss
i was create 1 extra globals.css in my auth folder to gave seprate css to some tag in the files who are in my auth folder
and the globals.css was done this work perfecty
but when the page who is in my auth folder redirecting the user to any page who's file is in my public folder the the css which i set in globals.css of auth folder have to be deactive but it was still active and breaking design
hope this workss
Harrier
Have you tried using css modules?
yeaa i'm using module css..
Harrier
Forgive me if I'm seeing it wrong, but on screenshots it's just
globals.css
, whereas [modules require](https://nextjs.org/docs/app/building-your-application/styling#css-modules) to use module
, such as globals.module.css
Ummm... Sorry but is you read the issue correctly? Ig there is some misunderstanding