<div class="container">
  <div class="element element-1"></div>
  <div class="element element-2"></div>
</div>
body {
  background-color: #F5F5F5;
  color: #555;
  margin: 0;
  font-size: 1.1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container {
  margin: 50px auto;
}

.element {
  width: 50%;
  height: 300px;
  margin: 10px auto;
}

.element-1 {
  background-image: radial-gradient(closest-side circle, yellow, #009966, purple);
}

.element-2 {
  background-image: radial-gradient(closest-side ellipse, yellow, #009966, purple);
}