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