JSFiddle - React, Tailwind, and code Playground

by 1eddy87

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<div class="static"></div>
<div class="static r l"></div>
<div class="static rr ll"></div>
<!-- <div class="static-two"></div> -->

CSS

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

body {
  background-color: #333333;
}

.static {
  height: 100%;
  font-size: 1.8rem;
  background: #6D7ADA;
}

.static:before {
  content: "";
  position: absolute;
  left: 10rem;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-left: none;
  border-bottom: none;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-animation: arrow-before 1.5s infinite;
  animation: arrow-before 1.5s infinite;
}

.r:before {
  left: 15rem;
}

.rr:before {
  left: 20rem;
}

.static:after {
  content: "";
  position: absolute;
  left: 21rem;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-left: none;
  border-bottom: none;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  -webkit-animation: arrow-after 1.5s infinite;
  animation: arrow-after 1.5s infinite;
}

.l:after {
  left: 16rem;
}

.ll:after {
  left: 11rem;
}

.static:before {
  top: 5rem;
}

.static:after {
  top: 10rem;
}

.static-two {
  height: 100%;
  font-size: 1.8rem;
  background: #6D7ADA;
}

.static-two:before {
  content: "";
  position: absolute;
  left: 7rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #fff;
  border-left: none;
  border-bottom: none;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-animation: arrow-before 1.5s infinite;
  animation: arrow-before 1.5s infinite;
}

.static-two:after {
  content: "";
  position: absolute;
  left: 9rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #fff;
  border-left: none;
  border-bottom: none;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  -webkit-animation: arrow-after 1.5s infinite;
  animation: arrow-after 1.5s infinite;
}

.static-two:before {
  top: 15rem;
}

.static-two:after {
  top: 20rem;
}

@-webkit-keyframes arrow-before {
  to {
    -webkit-transform: translateX(100%) rotate(45deg);
    transform: translateX(100%) rotate(45deg);
   ...