CSS - Background in CSS

In this video,I explained the Background in CSS. Feel free to comment. For more, please subscribe and press the BELL icon. Please visit my CSS Playlist. Please link, comment, share and subscribe. The code is as follows -

HTML File - 
<html>
  <head>
    <title> CSS Background </title>
  <link rel="stylesheet" href="background.css">
  </head>
 
<body>

<p> Hi Everyone... !!! Hello World..!!! </p>

</body>


</html>

CSS File - 
body{
background-color: lightblue;
background-image: url("banner.png");
background-position: left top;
background-repeat: no-repeat;
background-attachment: fixed;
}


Comments

Popular posts from this blog

Alert Dialog Box in JS || JavaScript Dialog Box

HTML - Frameset Tag in html

Indian Flag || Indian Flag using HTML CSS