Home > Back-end >  How to put background-image in a section in html
How to put background-image in a section in html

Time:12-03

How to put background-image in a section in html How to put background-image in a section in html How to put background-image in a section in html How to put background-image in a section in html How to put background-image in a section in html

CodePudding user response:

Please don't spam your question, it just confuses people. You can do it like this:

CSS:

.example {
background: url("imageurl") no-repeat center;
height: 100vh;
background-size: cover;

}

  •  Tags:  
  • html
  • Related