i have a stupid question,
I want to load background image with the background-image: url(images/background.jpg); function but css file location is css/main.css.
If your question was stupid like you said, why did you ask it in the first place? Why didn't you just search it up? I'm pretty sure there are plenty of resources that have an answer to this question. Only ask questions that have never been asked or answered on some other website including stackoverflow before. Please visit stackoverflows page on how to write a good question: stackoverflow.com/help/how-to-ask
../images/background.png.