<div style="background: repeating-linear-gradient(red 20px, blue 20px); width: 300px; height: 300px;"></div>