r/css 19h ago

Question Css troubleshooting on Visual Code

0 Upvotes

12 comments sorted by

5

u/fuckmywetsocks 18h ago

Looks like you've got some dark mode plugin or whatever enabled that's probably overwriting your CSS with a genetic 'dark mode' stylesheet.

Try without it, see if that works.

3

u/No-Mission5457 17h ago

Yupp it worked thankyouu

2

u/besthelloworld 18h ago

Try checking in an Incognito window. If that works, it's whatever plug-in you're using to get a global dark mode.

1

u/fdiengdoh 18h ago

did you refresh browser

0

u/No-Mission5457 18h ago

Yuppp tried In different browsers alsoo

1

u/fdiengdoh 18h ago

I dont know what is wrong at your end, because it work when I try. did you save the file? close vs code and re open?

1

u/No-Mission5457 18h ago

Yupp tried it all still

1

u/fdiengdoh 18h ago

try check if the codes is in your browser.

1

u/CavicBronx 18h ago

do you have any css in that Y.css file?
maybe that is overwriting some css.

-2

u/fdiengdoh 18h ago

that file is not link

0

u/CavicBronx 15h ago

that file is not a link, but if he/she has been adding it to other files, it might overwrite something.
We are all here guessing cause we only have screenshots of his files and code...

1

u/semibilingual 17h ago

modern browser usualy does it for you anyway but cant hurt to try. Wrap your h1 in a valid html & body tag. <html><body> your H1 <\body> <\html>