mirror of
https://github.com/aelve/guide.git
synced 2024-12-25 22:02:58 +03:00
25 lines
517 B
CSS
25 lines
517 B
CSS
|
/* From https://www.pexels.com/blog/css-only-loaders/ */
|
||
|
|
||
|
.loader {
|
||
|
animation: rotate 0.8s infinite linear;
|
||
|
border: 6px solid #333;
|
||
|
border-right-color: transparent;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
|
||
|
#ajax-indicator {
|
||
|
position: fixed;
|
||
|
top: 0.5em;
|
||
|
right: 0.5em;
|
||
|
width: 2em;
|
||
|
height: 2em;
|
||
|
animation: rotate 0.8s infinite linear;
|
||
|
border: 6px solid #333;
|
||
|
border-right-color: transparent;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
|
||
|
@keyframes rotate {
|
||
|
0% { transform: rotate(0deg); }
|
||
|
100% { transform: rotate(360deg); }
|
||
|
}
|