html - Header Image not displaying -
when run code doesn't display image in background
.bgimg-1 { background-image: url("/images/oldcam.jpg"); background-repeat: no-repeat; min-height: 100%; }
following code :-
.bgimg-1 { width: 400px; height: 200px; background-repeat: no-repeat; background-image: url("https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png"); }
<div class="bgimg-1 w3-display-container w3-opacity-min" id="home">
Comments
Post a Comment