Answers for "background image cover css w3schools"

CSS
4

css background image cover

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
5

how to change background image in html

<style>
div {
  background-image: url('img_girl.jpg');
}
</style>
Posted by: Guest on July-24-2020
5

add background image in css

.w {
background-image: url("images/tom1.png");
}

.a {
background-image: url("images/tom2.png");
}

.s {
background-image: url("images/tom3.png");
}
Posted by: Guest on August-20-2020
-2

background cover css

-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
Posted by: Guest on April-21-2021

Code answers related to "background image cover css w3schools"

Browse Popular Code Answers by Language