PayPal Spinner/Loader
HTML
<div class="spinner">
<div class="loader"></div>
</div>
CSS
html,
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color:#e2e4e6;
}
.spinner {
position: relative;
width: 100%;
height: 100%;
min-height: 100%;
display: block;
}
.spinner .loader {
height: 48px;
width: 48px;
position: absolute;
top: 50%;
left: 50%;
margin: -24px 0 0 -24px;
-webkit-animation: rotation 1s infinite linear;
-moz-animation: rotation 1s infinite linear;
-o-animation: rotation 1s infinite linear;
animation: rotation 1s infinite linear;
border-width: 8px;
border-style: solid;
border-color: #d2d4d6;
border-top-color: #4488ee;
border-radius: 100%;
}
@-webkit-keyframes rotation {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(359deg);
}
}
@-moz-keyframes rotation {
from {
-moz-transform: rotate(0deg);
}
to {
-moz-transform: rotate(359deg);
}
}
@-o-keyframes rotation {
from {
-o-transform: rotate(0deg);
}
to {
-o-transform: rotate(359deg);
}
}
@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}