Answers for "how to add image on page in html as background"

CSS
-1

Add background image html

<!-- Background image -->
<div class="bg-image" style="
      background-image: url('https://mdbootstrap.com/img/new/standard/city/041.jpg');
      height: 100vh;
    "></div>
<!-- Background image -->
Posted by: Guest on August-08-2021

Code answers related to "how to add image on page in html as background"

Browse Popular Code Answers by Language