Answers for "how to show the full image in background in html"

4

how to make an image a full background in html

I have set the fixed position, you can set it to whatever you want.

.bg-image {
   width: 100%;
   height: 100%;
   position: fixed;
   right: 0;
   left: 0;
   top: 0;
   bottom: 0;
 }
Posted by: Guest on July-14-2021

Code answers related to "how to show the full image in background in html"

Browse Popular Code Answers by Language