<!DOCTYPE html>
<html>
<head>
<style>
#grad1 {
height: 200px;
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
}
</style>
</head>
<body>
<h1>Repeating Linear Gradient</h1>
<div id="grad1"></div>
</body>
</html>