mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
36 lines
595 B
SCSS
36 lines
595 B
SCSS
@keyframes loader {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.loader {
|
|
position: relative;
|
|
display: block;
|
|
width: $loader-size;
|
|
height: $loader-size;
|
|
color: $blue;
|
|
vertical-align: middle;
|
|
|
|
&::after {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
content: "";
|
|
border: 1px solid;
|
|
border-color: transparent;
|
|
border-top-color: currentColor;
|
|
border-left-color: currentColor;
|
|
|
|
border-radius: 50%;
|
|
animation: loader .6s linear;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
}
|