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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -