テンプレート:Loading/style.css

.loading {
    position: absolute;
    top: 50%;
    left: 5%;
    border: 5px solid #ffffff;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(60deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(300deg);
    }

    100% {
        transform: rotate(360deg);
    }
}