.ring { position: relative; width: 45px; height: 45px; margin: 0 auto; border: 4px solid #4b9cdb; border-radius: 100%; } .ball { position: absolute; top: -11px; left: 0; width: 16px; height: 16px; border-radius: 100%; background: #4282b3; } .loading .holder { position: absolute; width: 12px; height: 45px; left: 17px; top: 0px; animation: loadingE 1.3s linear infinite; } @keyframes loadingE { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }