Usage of background property in CSS

JavascriptWeb DevelopmentFront End Scripts

The background property is used as a shorthand to specify the number of other background properties such as image, position, repeat, etc.

<html>
   <head>
   </head>
   <body>
      <p style = "background:url(/images/pattern1.gif) repeat fixed;">
         This parapgraph has fixed repeated background image.
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 08:54:03
Advertisements