JSFiddle - React, Tailwind, and code Playground

HTML

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

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

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

SCSS

body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.right,
.middle,
.left {
  border: 1px solid red;
  width: 400px;
  height: 400px;
  margin: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.middle {
  background: #000;
}

.right {
  background: #333;
}

.box {
  animation: background-fade-highlight 5s ease-out;
  height: 300px;
  width: 300px;
  margin: 0 auto;
}


@keyframes background-fade-highlight {
  0% {
    background-color: #052e3d;
  }
  100% {
    background-color: transparent;
  }
}