68 lines
1.4 KiB
CSS
68 lines
1.4 KiB
CSS
/*===== Image Preloader =====*/
|
|
|
|
.upstudy_image_preloader {
|
|
position: fixed;
|
|
left: 0px;
|
|
top: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 9999999;
|
|
}
|
|
/*== Preloader two style ===*/
|
|
|
|
#preloader_two {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #fff;
|
|
z-index: 999999;
|
|
}
|
|
#preloader_two .preloader_two {
|
|
width: 50px;
|
|
height: 50px;
|
|
display: inline-block;
|
|
padding: 0px;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-left: -25px;
|
|
margin-top: -25px;
|
|
}
|
|
#preloader_two .preloader_two span {
|
|
position: absolute;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 100%;
|
|
background-color: var(--upstudy-primary-color);
|
|
-webkit-animation: preloader_two 1.3s linear infinite;
|
|
animation: preloader_two 1.3s linear infinite;
|
|
}
|
|
#preloader_two .preloader_two span:last-child {
|
|
animation-delay: -0.8s;
|
|
-webkit-animation-delay: -0.8s;
|
|
}
|
|
@keyframes preloader_two {
|
|
0% {
|
|
transform: scale(0, 0);
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
transform: scale(1, 1);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
@-webkit-keyframes preloader_two {
|
|
0% {
|
|
-webkit-transform: scale(0, 0);
|
|
opacity: 0.5;
|
|
}
|
|
100% {
|
|
-webkit-transform: scale(1, 1);
|
|
opacity: 0;
|
|
}
|
|
} |