pulsing_loader
by John Doe
HTML
<div class="spinner"></div>
CSS
body {
background-color: black;
}
.spinner {
width: 40px;
height: 40px;
opacity: .6;
background-color: rgb(64, 131, 183);
outline: none;
box-shadow: 0 0 10px 1px #9ecaed;
border-radius: 100%;
-webkit-animation: sk-scaleout 2.0s infinite ease-in;
animation: sk-scaleout 2.0s infinite ease-in;
}
@-webkit-keyframes sk-scaleout {
0% { -webkit-transform: scale(0) }
50% { background-color: rgba(64, 131, 183, 0.5); }
100% {
-webkit-transform: scale(5.0);
opacity: 0;
}
}
@keyframes sk-scaleout {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}
50% { background-color: rgba(64, 131, 183, 0.5); }
100% {
-webkit-transform: scale(5.0);
transform: scale(5.0);
opacity: 0;
}
}