Answers for "how to set backgound image width 100 percent to div"

CSS
7

how to set background image 100 height

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 March-06-2020

Code answers related to "how to set backgound image width 100 percent to div"

Browse Popular Code Answers by Language