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

#loader_2 {
  position: absolute;
  left: 45%;
  top: 45%;
  width: 100px;
  height: 100px;
}

#loader_2 span {
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
}

#loader_2 span:nth-child(1) {
  -webkit-border-radius: 100px 0 0 0;
  -moz-border-radius: 100px 0 0 0;
  -ms-border-radius: 100px 0 0 0;
  -o-border-radius: 100px 0 0 0;
  border-radius: 100px 0 0 0;
  -webkit-animation: loader_2_1 2s infinite;
  -moz-animation: loader_2_1 2s infinite;
  -ms-animation: loader_2_1 2s infinite;
  -o-animation: loader_2_1 2s infinite;
  animation: loader_2_1 2s infinite;
  background: #54acd2;
}

#loader_2 span:nth-child(2) {
  left: 50px;
  -webkit-border-radius: 0 100px 0 0;
  -moz-border-radius: 0 100px 0 0;
  -ms-border-radius: 0 100px 0 0;
  -o-border-radius: 0 100px 0 0;
  border-radius: 0 100px 0 0;
  -webkit-animation: loader_2_1 2s infinite;
  -moz-animation: loader_2_1 2s infinite;
  -ms-animation: loader_2_1 2s infinite;
  -o-animation: loader_2_1 2s infinite;
  animation: loader_2_1 2s infinite;
  background: #e14a39;
}

#loader_2 span:nth-child(3) {
  top: 50px;
  -webkit-border-radius: 0 0 0 100px;
  -moz-border-radius: 0 0 0 100px;
  -ms-border-radius: 0 0 0 100px;
  -o-border-radius: 0 0 0 100px;
  border-radius: 0 0 0 100px;
  -webkit-animation: loader_2_1 2s infinite;
  -moz-animation: loader_2_1 2s infinite;
  -ms-animation: loader_2_1 2s infinite;
  -o-animation: loader_2_1 2s infinite;
  animation: loader_2_1 2s infinite;
  background: #fcc312;
}

#loader_2 span:nth-child(4) {
  top: 50px;
  left: 50px;
  -webkit-border-radius: 0 0 100px 0;
  -moz-border-radius: 0 0 100px 0;
  -ms-border-radius: 0 0 100px 0;
  -o-border-radius: 0 0 100px 0;
  border-radius: 0 0 100px 0;
  -webkit-animation: loader_2_1 2s infinite;
  -moz-animation: loader_2_1 2s infinite;
  -ms-animation: loader_2_1 2s infinite;
  -o-animation: loader_2_1 2s infinite;
  animation: loader_2_1 2s infinite;
  background: #1bbc9b;
}

@keyframes loader_2_1 {
  0% {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

20% {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

50% {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

70% {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.