<div class="gradient"></div>
.gradient {
  height: 250px;
  background-color: red;
  background-image: linear-gradient(
    to right,
    #e52e71,
    #f06d06,
    rgb(255, 255, 0),
    green
  );
}

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