HTML



<div class="donutLoader"></div>


CSS


.donutLoader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: donutspinner 2s linear infinite;
}

@keyframes donutspinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}