Question : add background image in django uploaded file
Answered by : jocelyn
{% load static %} <img src="{% static "my_app/example.jpg" %}" alt="My image"/>
Source : https://stackoverflow.com/questions/39769469/the-way-to-use-background-image-in-css-files-with-django | Last Update : Mon, 28 Dec 20
Question : add background image in django uploaded file
Answered by : cautious-cobra-1ktt6zf1p5dd
#third{ background: url("/static/img/sample.jpeg") 50% 0 no-repeat fixed; color: white; height: 650px; padding: 100px 0 0 0; }
Source : https://coders911.org/questions/39769469/The-way-to-use-backgroundimage-in-css-files-with-Django | Last Update : Thu, 31 Mar 22