<div class="cp_loading18">
<div class="cp_item"></div>
<div class="cp_item"></div>
<div class="cp_item"></div>
<div class="cp_item"></div>
</div>
*, *:before, *:after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.cp_loading18 {
position: absolute;
top: 50%;
left: 50%;
width: 50px;
height: 50px;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.cp_loading18 .cp_item {
display: inline-block;
width: 22px;
height: 23px;
-webkit-animation: loading18 1.3s infinite ease-out;
animation: loading18 1.3s infinite ease-out;
opacity: .5;
}
.cp_loading18 .cp_item:nth-child(1) {
-webkit-transform: translate(0, -25px);
transform: translate(0, -25px);
background: #e91e63;
}
.cp_loading18 .cp_item:nth-child(2) {
-webkit-transform: translate(25px, 0);
transform: translate(25px, 0);
background: #2196F3;
}
.cp_loading18 .cp_item:nth-child(3) {
-webkit-transform: translate(-25px, 0);
transform: translate(-25px, 0);
background: #00BCD4;
}
.cp_loading18 .cp_item:nth-child(4) {
-webkit-transform: translate(0, 25px);
transform: translate(0, 25px);
background: #CDDC39;
}
@-webkit-keyframes loading18 {
33% {
-webkit-transform: translate(0, 0) rotate(-20deg);
transform: translate(0, 0) rotate(-20deg);
opacity: 0.7;
}
66% {
-webkit-transform: translate(0, 0) rotate(20deg);
transform: translate(0, 0) rotate(20deg);
opacity: 0.7;
}
}
@keyframes loading18 {
25% {
-webkit-transform: translate(0, 0) rotate(-20deg);
transform: translate(0, 0) rotate(-20deg);
opacity: 0.7;
}
75% {
-webkit-transform: translate(0, 0) rotate(20deg);
transform: translate(0, 0) rotate(20deg);
opacity: 0.7;
}
}