Striped repeating background - HTML CSS CSS Property

HTML CSS examples for CSS Property:background

Description

Striped repeating background

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 {min-height: 2000px;}
.background {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-image: url(https://www.java2s.com/style/demo/InternetExplorer.png);
   background-attachment: fixed;
   z-index: -1;<!-- ww  w  . j  av  a  2s .  co  m-->
}


      </style> 
 </head> 
 <body> 
  <div class="background"> 
  </div>  
 </body>
</html>

Related Tutorials