<div class="circle"></div>
.circle { width: 100px; height: 100px; border-radius: 100%; background: #ccc; border: 2px solid #fff; position: relative; animation: orb 2s linear infinite } .circle:after { content: ""; display: block; width: 8px; height: 8px; border-radius: 100%; position: absolute; left: 0; right: 0; top: 0; margin: auto; transform: translateY(-50%); background: red; } @keyframes orb { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }