Answers for "how to fill background image in html"

CSS
7

CSS make image fill whole background

html { 
  background: url(images/bg.jpg) no-repeat 
    center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
Posted by: Guest on November-26-2019
0

css fill div with background image

div {
  background-image: url("example.com/image.png");
  background-size: 100% 100%;
}
Posted by: Guest on June-02-2020
0

bootstrap create full screen background image

.wrapper{background: url('/assets/64531/green_suburb.jpg') no-repeat   center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;}
Posted by: Guest on May-04-2020

Code answers related to "how to fill background image in html"

Browse Popular Code Answers by Language