JSFiddle - React, Tailwind, and code Playground

by luka kupunia

HTML

<div class="header">
  <div class="box" style="animation-delay: 0.1s"></div>
  <div class="box" style="animation-delay: 0.2s"></div>
  <div class="box" style="animation-delay: 0.3s"></div>
  <div class="box" style="animation-delay: 0.2s"></div>
  <div class="box" style="animation-delay: 0.1s"></div>
</div>
<div class="circle"></div>

CSS

body {
  margin: 0;
  background: black;
}
div.header {
  width: 100%;
  display: flex;
  height: 200px;
}
.box {
  width: 20%;
  height: 150px;
  border: 1px solid white;
  animation: a .1s infinite;
}
.circle {
  width: 200px;
  height: 200px;
  background: white;
  position: absolute;
  top: 50%;
  left : 50%;
  transform: translate(-50%,-50%);
  -webkit-clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
animation: b .1s infinite;
}
@keyframes b {
  50% {
    -webkit-clip-path: polygon(50% 0%, 0 100%, 100% 60%, 75% 100%, 100% 5%, 0% 60%, 10% 20%);
clip-path: polygon(50% 0%, 0 100%, 100% 60%, 75% 100%, 100% 5%, 0% 60%, 10% 20%);
background: yellow;
transform: translate(-50%,-50%) rotate(180deg);
  }
  70% {
    transform: translate(-100%,-100%) rotate(180deg);
  }
}
@keyframes a {
  50% {
    background: white;
  }
}