<div class="linear-gradient"></div>
.linear-gradient { height: 200px; width: 100%; background-image: linear-gradient(to right, red, yellow); }