<div style="background: -moz-linear-gradient(150px 150px, white, black); width: 300px; height: 300px;"></div>
<div style="background: -moz-repeating-linear-gradient(150px 150px, white, black); width: 300px; height: 300px;"></div>