Answers for "html background image doesn't cover full screen"

CSS
3

html background image fit to screen

body {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
Posted by: Guest on May-11-2020
-1

how to cover full background with css

<div id="bg">
  <img src="images/bg.jpg" alt="">
</div>
Posted by: Guest on February-16-2021

Code answers related to "html background image doesn't cover full screen"

Browse Popular Code Answers by Language