CSS not working
Open in Discord
Bahama Swallow posted this in #help-forum
I styled my page using CSS, but it doesn't load inside my routes and components
you have already ./global.css
DirtyCajunRice | AppDir
if you arent using tailwind, you need to actually add your classes to the html. it wont just “pick it up”
I think you can not import all css two time
serious ? how do i do that, it's the same as the documentation, do i have to import the css in every page and style it?
import styles from "@/styles/your-css.css"
like this you can do
ok, i try it now, thanks @Masai Lion
ask if you can't make it
Is that because I'm not styling the routes or is there something wrong?
so there is no error
but i cant' use
globla.css you do not touch it
its de css of all your pages
if you want to create a css only for one page
i recomend you to create a folder named styles and to pout all your css in there
and you import it like you did but with the name of the css
so i created a css and i have to import in every page? I tried to create a css file for each page and import it as styles, but it gave an error, even though I followed Next's documentation
do you wanna voc ? hhaha
i don't understand what is voc, sorry hahahahha
vocal chat haha
ok, may be tomorrow ?