<div class="box">
  
</div>
.box{
  height:100px;
  outline:1px solid;
  background-image: linear-gradient(90deg,red,orange,yellow,green,blue,indigo,violet);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.