Answers for "body background imge"

8

html watermark background

#watermark {
   position:fixed;
   bottom:5px;
   right:5px;
   opacity:0.5;
   z-index:99;
   color:white;
   user-select: none;
}
Posted by: Guest on January-12-2021
5

background image html

<!-- Background images are better implemented in CSS -->
<!-- but here is how you could do it in HTML in a pinch -->

<head>
  <style>
    .background {
      background-image: url(https://cleananddelicious.com/wp-content/uploads/2016/03/Avocad0-CD.jpg);
    }
  </style>
</head>

<body>
  <div class=background>
    <h1>The background of this div will be an avocado</h1>
  </div>
</body>
Posted by: Guest on February-18-2020

Browse Popular Code Answers by Language