<div class="basic-linear"></div>
.basic-linear {
  width:15rem;
  height:10rem;
   margin: 15%;
  background: linear-gradient(#0000ff, #ffc0cb);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.