<div class="box">🦄</div>
body {
  background: #f2f2f2;
  text-align: center;
}

.box {
  background: linear-gradient(to right, orange, #ec38bc, #7303c0, cyan);  
  
  color: white;
  padding: 6rem 1rem;
  margin: 4rem;
  font-size: 100px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.