Answers for "reference images from css in django"

CSS
0

reference images from css in django

For HTML 
<link rel="stylesheet" href="{% static 'app_name/css/document.css' %}">

for CSS
background: url("../img/image_name.jpeg");

for JS
document.write('<img src="{% static "images/anotherImage.png" %}" width="680" height="210" />');
Posted by: Guest on April-08-2021

Code answers related to "reference images from css in django"

Browse Popular Code Answers by Language