laravelEcomm/public/Dashboard/scss/common/light/components/loaders/_jumping-dots-loader.scss
2024-07-12 12:51:02 +05:45

45 lines
1.0 KiB
SCSS

/* Jumping dots loader */
.jumping-dots-loader {
width: 100px;
height: 100px;
border-radius: 100%;
position: relative;
margin: 0 auto;
}
.jumping-dots-loader span{
display: inline-block;
width: 20px;
height: 20px;
border-radius: 100%;
background-color: rgba(theme-color(danger), .8);
margin: 35px 5px;
}
.jumping-dots-loader span:nth-child(1){
animation: bounce 1s ease-in-out infinite;
}
.jumping-dots-loader span:nth-child(2){
animation: bounce 1s ease-in-out 0.33s infinite;
}
.jumping-dots-loader span:nth-child(3){
animation: bounce 1s ease-in-out 0.66s infinite;
}
@keyframes bounce{
0%, 75%, 100%{
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
25%{
-webkit-transform: translateY(-20px);
-ms-transform: translateY(-20px);
-o-transform: translateY(-20px);
transform: translateY(-20px);
}
}