JSFiddle - React, Tailwind, and code Playground

by zlobul

HTML

<div class="box"></div>

CSS

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}
body .box {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: 
    linear-gradient(45deg, transparent, transparent 50%, #17c3b2),
    linear-gradient(black, black);
  animation: rotate 1s linear;
}
body .box:before,
body .box:after {
  content: " ";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: black;
  border-radius: inherit;
}
body .box:before {
  background: 
    linear-gradient(45deg, transparent, transparent 20%, #17c3b2);
  filter: blur(32px);
}

@keyframes rotate {
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
}