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
Post a Comment