Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of Repeating the Linear Gradients</title> <style> .gradient { width: 400px; height: 300px; /* Fallback for browsers that don't support gradients */ background: white; /* For Safari 5.1 to 6.0 */ background: -webkit-repeating-linear-gradient(black, white 10%, lime 20%); /* For Internet Explorer 10 */ background: -ms-repeating-linear-gradient(black, white 10%, lime 20%); /* Standard syntax */ background: repeating-linear-gradient(black, white 10%, lime 20%); } </style> </head> <body> <div class="gradient"></div> </body> </html>