user58712
0
Q:

how to add background image as well as background colorin html

<!-- 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>
0
/*CSS background Property

Example
Set different background properties in one declaration:
*/
body
 { 
   background: lightblue url("img_tree.gif") no-repeat fixed center; 
 } 
 
8
background: url('images/checked.png'), #6DB3F2;
0

New to Communities?

Join the community