.loading {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 500;
    background: #fff;
}

.content {
    position: absolute;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.content span {
    display: block;
    float: left;
    height: 80px;
    width: 10px;
    margin: 0 3px;
    background: rgb(51, 255, 0);
    transform: scaleY(.4);
    -webkit-transform: scaleY(.4);
    -moz-transform: scaleY(.4);
    -ms-transform: scaleY(.4);
    -o-transform: scaleY(.4);
    animation: spin .8s linear infinite;
    -webkit-animation: spin .8s linear infinite;
}



.content span:nth-child(2) {
    animation-delay: 0.1s;
}

.content span:nth-child(3) {
    animation-delay: 0.2s;
}

.content span:nth-child(4) {
    animation-delay: 0.3s;
}

.content span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes spin {
    0%,
    40%,
    100% {
        transform: scaleY(.4);
        -webkit-transform: scaleY(.4);
        -moz-transform: scaleY(.4);
        -ms-transform: scaleY(.4);
        -o-transform: scaleY(.4);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
        -moz-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
    }
}

@-webkit-keyframes spin {
    0%,
    40%,
    100% {
        transform: scaleY(.4);
        -webkit-transform: scaleY(.4);
        -moz-transform: scaleY(.4);
        -ms-transform: scaleY(.4);
        -o-transform: scaleY(.4);
    }
    20% {
        transform: scaleY(1);
        -webkit-transform: scaleY(1);
        -moz-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
    }
}

.loading2 {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 500;
}

.content2 {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    /* background:red; */
    margin: auto;
    text-align: center;
    line-height: 80px;
}

.content2 span {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 10px;
    /* background: yellow; */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    z-index: -1;
    box-shadow: 0 5px 0 #ccc;
    animation: rotate .7s infinite;
    -webkit-animation: rotate .7s infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}
@-webkit-keyframes rotate {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}