mirror of
https://github.com/pawelmalak/snippet-box.git
synced 2025-12-25 14:59:12 +01:00
60 lines
968 B
CSS
60 lines
968 B
CSS
.Spinner,
|
|
.Spinner:before,
|
|
.Spinner:after {
|
|
background: #3459e6;
|
|
-webkit-animation: load1 1s infinite ease-in-out;
|
|
animation: load1 1s infinite ease-in-out;
|
|
width: 1em;
|
|
height: 4em;
|
|
}
|
|
.Spinner {
|
|
color: #3459e6;
|
|
text-indent: -9999em;
|
|
margin: 88px auto;
|
|
position: relative;
|
|
font-size: 11px;
|
|
-webkit-transform: translateZ(0);
|
|
-ms-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
-webkit-animation-delay: -0.16s;
|
|
animation-delay: -0.16s;
|
|
}
|
|
.Spinner:before,
|
|
.Spinner:after {
|
|
position: absolute;
|
|
top: 0;
|
|
content: '';
|
|
}
|
|
.Spinner:before {
|
|
left: -1.5em;
|
|
-webkit-animation-delay: -0.32s;
|
|
animation-delay: -0.32s;
|
|
}
|
|
.Spinner:after {
|
|
left: 1.5em;
|
|
}
|
|
@-webkit-keyframes load1 {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
box-shadow: 0 0;
|
|
height: 4em;
|
|
}
|
|
40% {
|
|
box-shadow: 0 -2em;
|
|
height: 5em;
|
|
}
|
|
}
|
|
@keyframes load1 {
|
|
0%,
|
|
80%,
|
|
100% {
|
|
box-shadow: 0 0;
|
|
height: 4em;
|
|
}
|
|
40% {
|
|
box-shadow: 0 -2em;
|
|
height: 5em;
|
|
}
|
|
}
|