Answers for "how to give content background image in html"

CSS
10

How to set a image as a backgroung image

<style>
body {
  background-image: url('img_girl.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
</style>
Posted by: Guest on May-20-2020

Code answers related to "how to give content background image in html"

Browse Popular Code Answers by Language