mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): improve loading spinner
This commit is contained in:
parent
5f8eacae7b
commit
42e8b886a0
6 changed files with 47 additions and 1 deletions
23
frontend/src/loader.css
Normal file
23
frontend/src/loader.css
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
.loader {
|
||||
border-top-color: theme("colors.green.500");
|
||||
-webkit-animation: spinner 1.5s linear infinite;
|
||||
animation: spinner 1.5s linear infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes spinner {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spinner {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue