JSFiddle - React, Tailwind, and code Playground

by Dan Schultz

HTML

<div class="gradient"></div>

CSS

.gradient {
  background-image: radial-gradient(50% 50% at 50% calc(50% + 20px), rgba(0, 0, 0, 0), #000000);
  width: 250px;
  height: 150px;
  background-color: red;
}