38 lines
782 B
SCSS
38 lines
782 B
SCSS
.spinner3 {
|
|
position: fixed;
|
|
width: 50px;
|
|
height: 50px;
|
|
top: calc(50% - 50px/2);
|
|
left: calc(50% - 50px/2);
|
|
animation: rotate 2.0s infinite linear;
|
|
.dot1,
|
|
.dot2 {
|
|
width: 60%;
|
|
height: 60%;
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: 0;
|
|
background-color: #fff;
|
|
border-radius: 100%;
|
|
animation: bounce 2.0s infinite ease-in-out;
|
|
}
|
|
.dot2 {
|
|
top: auto;
|
|
bottom: 0px;
|
|
animation-delay: -1.0s;
|
|
}
|
|
}
|
|
|
|
@keyframes rotate {
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%, 100% {
|
|
transform: scale(0.0);
|
|
} 50% {
|
|
transform: scale(1.0);
|
|
}
|
|
} |