/*css spinner (<div class="spinner"></div>)*/

@-webkit-keyframes rotation {
    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes rotation {
    to {
        transform: rotate(359deg);
    }
}

.spinner {
    height: 15px;
    width: 15px;
    -webkit-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border: 3px solid rgba(0, 0, 0, .15);
    border-radius: 100%;
    margin: auto;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* Doing this instead of setting border-*-color on .spinner avoids some artifacts in some browsers. */
.spinner::before {
    content: "";
    display: block;
    position: absolute;
    left: -3px;
    top: -3px;
    height: 100%;
    width: 100%;
    border: 3px solid transparent;
    border-top-color: rgba(0, 0, 0, .8);
    border-radius: 100%;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}