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