<div class="gradient"></div>
body {
  margin: 20px 0 0 20px;
}

.gradient {
  width: 300px;
  height: 300px;
  background: radial-gradient(#4158d0, #c850c0);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.