<div id='loader_4'>
  <span></span>
  <span></span>
  <span></span>
  <span></span>
  <span></span>
</div>
body {
  background-color: #e9f3f5;
  min-height: 100%;
}

#loader_4 {
  position: absolute;
  left: 45%;
  top: 45%;
}

#loader_4 span {
  position: absolute;
  display: block;
  height: 20px;
  width: 20px;
  background: #1eff00;
}

#loader_4 span:nth-child(1) {
  left: -80px;
  background: #54acd2;
  -webkit-animation: loader_4_1 5s infinite;
  -moz-animation: loader_4_1 5s infinite;
  -ms-animation: loader_4_1 5s infinite;
  -o-animation: loader_4_1 5s infinite;
  animation: loader_4_1 5s infinite;
}

#loader_4 span:nth-child(2) {
  left: -40px;
  background: #e14a39;
  -webkit-animation: loader_4_2 5s infinite;
  -moz-animation: loader_4_2 5s infinite;
  -ms-animation: loader_4_2 5s infinite;
  -o-animation: loader_4_2 5s infinite;
  animation: loader_4_2 5s infinite;
}

#loader_4 span:nth-child(3) {
  left: 40px;
  background: #fcc312;
  -webkit-animation: loader_4_3 5s infinite;
  -moz-animation: loader_4_3 5s infinite;
  -ms-animation: loader_4_3 5s infinite;
  -o-animation: loader_4_3 5s infinite;
  animation: loader_4_3 5s infinite;
}

#loader_4 span:nth-child(4) {
  left: 80px;
  background: #1bbc9b;
  -webkit-animation: loader_4_4 5s infinite;
  -moz-animation: loader_4_4 5s infinite;
  -ms-animation: loader_4_4 5s infinite;
  -o-animation: loader_4_4 5s infinite;
  animation: loader_4_4 5s infinite;
}

#loader_4 span:nth-child(5) {
  background: #39484e;
  -webkit-animation: loader_4_5 5s infinite;
  -moz-animation: loader_4_5 5s infinite;
  -ms-animation: loader_4_5 5s infinite;
  -o-animation: loader_4_5 5s infinite;
  animation: loader_4_5 5s infinite;
}
@keyframes loader_4_1 {
  10% {
  left: -10px;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
}

20% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: -5px;
}

70% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: 0;
}

80% {
  left: -80px;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
}
 
}

@keyframes loader_4_2 {
 35% {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  left: -40px;
}

40% {
  left: -10px;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
}

50% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: -5px;
}

70% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: 0;
}

80% {
  left: -40px;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
}
}

@keyframes loader_4_3 {
  50% {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  left: 40px;
}

55% {
  left: 10px;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
}

65% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: 5px;
}

70% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: 0;
}

80% {
  left: 40px;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
}
}

@keyframes loader_4_4 {
  20% {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
  left: 80px;
}

25% {
  left: 10px;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
}

35% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: 5px;
}

70% {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -ms-opacity: 0;
  -o-opacity: 0;
  opacity: 0;
  left: 0;
}

80% {
  left: 80px;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -ms-opacity: 1;
  -o-opacity: 1;
  opacity: 1;
}
}

@keyframes loader_4_5 {
  20% {background:#54acd2;}
  
   35% {background: #1bbc9b;}
  
  50% {background: #e14a39;}
  65% {background: #fcc312;}
  75% {
   background: #39484e;
  }
  
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.