<div class="gradient">

</div>
div {
  height: 250px;
  background-color: red;
  background-image: linear-gradient(to right, #ff8a00, #e52e71);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js