loading.css 1.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
@charset "utf-8";

.app-loading-x {
    background: radial-gradient(#55A0FE, #1767CB);
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
}

.app-loading-x-container {
    position: absolute;
    top: 50%;
    width: 100%;
    color: #fff;
    text-align: center;
    transform: translateY(-50%);
}

.app-loading-x-container label {
    display: inline-block;
    font-size: 20px;
    opacity: 0;
}

.app-loading-x-container label:nth-child(6) {
    animation: loading 3s infinite ease-in-out
}

.app-loading-x-container label:nth-child(5) {
    animation: loading 3s .1s infinite ease-in-out
}
.app-loading-x-container label:nth-child(4) {
    animation: loading 3s .2s infinite ease-in-out
}
.app-loading-x-container label:nth-child(3) {
    animation: loading 3s .3s infinite ease-in-out
}
.app-loading-x-container label:nth-child(2) {
    animation: loading 3s .4s infinite ease-in-out
}
.app-loading-x-container label:nth-child(1) {
    animation: loading 3s .5s infinite ease-in-out
}
@keyframes loading{
    0% {
        transform:translateX(-300px);
        opacity:0
    }
    33% {
        transform:translateX(0);
        opacity:1
    }
    66% {
        transform:translateX(0);
        opacity:1
    }
    100% {
        transform:translateX(300px);opacity:0
    }
}