style(v2): better loading screen

This commit is contained in:
endiliey 2018-10-30 23:17:32 +08:00
parent 6cec7ce982
commit 62b5895ef8
2 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,22 @@
.loader {
width: 100%;
height: 49px;
position: fixed;
text-align: center;
top: 35%;
}
.loaderSpinning {
width: 49px;
height: 49px;
margin: 0 auto;
border: 5px solid #cccccc;
border-radius: 50%;
border-top: 5px solid #1d4d8b;
animation: loader-spin infinite 1s linear;
}
@keyframes loader-spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}