Answers for "code background"

CSS
125

css background image

background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Posted by: Guest on April-07-2020
26

css background color

body {
  background-color: green;
}
Posted by: Guest on February-03-2020
0

tr background color

<table>
  <tr bgcolor="#ddd">
    <td>First column</td>
    <td>Second column</td>
    <td>Third column</td>
  </tr>
  <tr bgcolor="#eee">
    <td>First column</td>
    <td>Second column</td>
    <td>Third column</td>
  </tr>
  <tr bgcolor="#ddd">
    <td>First column</td>
    <td>Second column</td>
    <td>Third column</td>
  </tr>
</table>
Posted by: Guest on January-14-2021
18

html background image

<!-- Code by Scratchy -->
<!-- Twitter: @S_cratchy-->

<head>
  <style>
    body {
      background-image: url(https://wallup.net/wp-content/uploads/2019/09/110394-cats-grey-kittens-fluffy-fat-grass-animals-cat-kitten-baby-cute-748x468.jpg) 
    }
  </style>
  
  <body>
    You have set the background image!
    
    
    
  </body>
Posted by: Guest on February-03-2020
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
0

mettre image in the background

body {
color:black;
background-color:white;
background-image:url(images/image_de_fond.png);
}
Posted by: Guest on May-31-2020

Browse Popular Code Answers by Language