CSS3 Repeating the linear gradients Examples




CSS3 Repeating the linear gradients Examples

<!DOCTYPE html>
<html>
   <head>
      <title>CSS3 Repeating the linear gradients Examples</title>
      <style type="text/css">      
         .gradient {
            width: 400px;
            height: 300px;
            background: blue;
            background: -webkit-repeating-linear-gradient(black, blue 10%, lime 20%);
            background: -ms-repeating-linear-gradient(black, blue 10%, lime 20%);
            background: repeating-linear-gradient(black, blue 10%, lime 20%);
         }
      </style>
   </head>
   <body>
      <div class="gradient"></div>
   </body>
</html> 

Output