javascript - having issue with background-image not showing -


my background-image isn't showing , driving me crazy know it's easy.

the div class below i'm trying background show.

.sun-face{     background-image: url("./images/sun_face.svg"); }   <div class="sun-face"></div> 

my file directory structured so.

root     -css     -fonts     -images     -js     index.html     navbar.html     signin.html 

use css

.sun-face{ background-image: url("../images/sun_face.svg"); height:500px; } 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -