<html>
<head>
<style>
#grad1 {
height: 200px;
background-color: #cccccc;
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}
</style>
</head>
<body>
<h2>Linear Gradient as Background Image</h2>
<p>The repeating-linear-gradient() function is used to repeat linear gradients:</p>
<div id="grad1"></div>
</body>
</html>