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