Global loading done.
This commit is contained in:
31
src/assets/loader.css
Normal file
31
src/assets/loader.css
Normal file
@@ -0,0 +1,31 @@
|
||||
.loader {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
position: relative;
|
||||
background-image:
|
||||
linear-gradient(#FFF 16px, transparent 0) ,
|
||||
linear-gradient(#FF3D00 16px, transparent 0) ,
|
||||
linear-gradient(#FF3D00 16px, transparent 0) ,
|
||||
linear-gradient(#FFF 16px, transparent 0);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 16px 16px;
|
||||
background-position: left top , left bottom , right top , right bottom;
|
||||
animation: rotate 1s linear infinite;
|
||||
}
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
transform: rotate(0deg)
|
||||
}
|
||||
50% {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
transform: rotate(180deg)
|
||||
}
|
||||
100% {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
transform: rotate(360deg)
|
||||
}
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
@import './tailwind.css';
|
||||
@import './loader.css';
|
||||
|
||||
Reference in New Issue
Block a user