html - Root-relative URL not working in CSS -
i have below css
.div_img { width: 500px; height: 500px; background-image: url(/images/simple_img.png); }
there root relative url in above css , not working. not showing image on div. please help me how set root relative url in css?
make sure that:
the image exists in location the css file rendered thediv
has class
attribute set div_img
the background-image
property not getting overridden css directive takes precedence html css url
No comments:
Post a Comment