<div style="background: linear-gradient(white, white 50%, black 50%, black);
background-size: 100px 100px;
background-position: 0 -50px;
width: 300px; height: 300px;"></div>