<div class="gradient"> </div>
div { height: 250px; background-color: red; background-image: linear-gradient(to right, #ff8a00, #e52e71); }
This Pen is owned by CSS-Tricks on CodePen. It is a fork of this Pen.
See more by @css-tricks on CodePen
This Pen doesn't use any external CSS resources.