PageLoader.scss
640 Bytes
.page-loader {
display: none;
width: 80px;
height: 80px;
z-index: 1;
transform: translate(-50%, -50%);
position: fixed;
left: 50%;
top: 50%;
}
.page-loader:after {
content: " ";
display: block;
width: 64px;
height: 64px;
margin: 8px;
border-radius: 50%;
border: 12px solid #aaa;
border-color: #a29bfe transparent #a29bfe transparent;
animation: spin 1.2s both infinite;
}
/* Safari */
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}