Fix ISSUE# 256 Add loading icon for slow querying

This commit is contained in:
walking98
2019-05-10 12:20:23 +08:00
parent 68e9a7b6ca
commit de4884771a
3 changed files with 31 additions and 1 deletions

View File

@@ -418,3 +418,25 @@ h1 {
Anyway I don't really mind it. This is a great way to learn so you actually doing the right thing:)
Follow me @ihatetomatoes
*/
.myloader {
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #3498db; /* Blue */
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
.hide-myloader {
display:none;
}
.centered {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}