JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
  <svg viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink">
    <circle cx="50" cy="50" r="40" fill="#DADFEA" />
  </svg>
</div>

CSS

@keyframes loading-spinner {
  0% { transform: perspective(120px) translateZ(5vw) rotateX(0deg) rotateY(0deg); }
  25% { transform: perspective(120px) translateZ(5vw) rotateX(180deg); }
  50% { transform: perspective(120px) translateZ(5vw) rotateX(180deg) rotateY(180deg); }
  75% { transform: perspective(120px) translateZ(5vw) rotateX(360deg) rotateY(180deg); }
  100% { transform: perspective(120px) translateZ(5vw) rotateX(360deg) rotateY(360deg); }
}

.container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: 2s opacity;
}

.container svg {
  animation: loading-spinner 4s linear infinite;
  transform-origin: 50% 50%;
  width: 10vw;
}