Set a background pattern to begin repeating from the center of page - HTML CSS CSS Property

HTML CSS examples for CSS Property:background

Description

Set a background pattern to begin repeating from the center of page

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

body {<!--from  ww  w  .ja v a  2s  .c  om-->
   background-image: url(https://www.java2s.com/style/demo/InternetExplorer.png);
   background-attachment:fixed;
   background-repeat: repeat-y;
   background-position: right top;
}


      </style> 
 </head> 
 <body>  
 </body>
</html>

Related Tutorials