I’m having a super annoying problem with my CSS, and yes I’m a beginner so I have no idea what the problem is. I can’t find anything online about it. I’d appreciate any help.
Here is my code:
That code is fine so it must be the path to the image that is wrong or you have a typo in the image name.
The path to the image is relative to the css file so if your css file is in its own folder then your path needs to come out of that folder to find the image.
e.g. url("../bgplswork.jpg")
Assuming that you have a css folder of course.
If the img, the html page and the css file are all in the same level folder and no subfolders then your original code would work (assuming no typos).
That doesn’t make a lot of sense as the quality of the image has nothing to do whether you load it in the background or the foreground. It’s still the same image However I think you probably meant something else.