lundi 21 juin 2021

Adding Background Image Using CSS

In my django project I try to add background image to html template. But it does not work my code is like this

background-image: url("/img/bg.jpg");

error

GET http://127.0.0.1:8000/img/bg.jpg 404 (Not Found)

Please help me to fix this

I try it different ways...




Aucun commentaire:

Enregistrer un commentaire