1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

add loading indicator

This commit is contained in:
Lu Wang 2013-09-28 11:38:35 +08:00
parent 5ef5030435
commit ddefd1c2f0
2 changed files with 18 additions and 0 deletions

View File

@ -32,6 +32,7 @@
overflow:auto; overflow:auto;
} }
#loading-indicator { #loading-indicator {
display:none;
position:absolute; position:absolute;
width:64px; width:64px;
height:64px; height:64px;

View File

@ -55,5 +55,22 @@
-webkit-animation: fadein 100ms; -webkit-animation: fadein 100ms;
animation: fadein 100ms; animation: fadein 100ms;
} }
@keyframes swing {
0% { transform: rotate(0deg); }
10% { transform: rotate(0deg); }
90% { transform: rotate(720deg); }
100%{ transform: rotate(720deg); }
}
@-webkit-keyframes swing {
0% { -webkit-transform: rotate(0deg); }
10% { -webkit-transform: rotate(0deg); }
90% { -webkit-transform: rotate(720deg); }
100%{ -webkit-transform: rotate(720deg); }
}
#loading-indicator {
animation: swing 1.5s ease-in-out 0s infinite alternate none;
-webkit-animation: swing 1.5s ease-in-out 0s infinite alternate none;
}
} }
/* Fancy CSS END */ /* Fancy CSS END */