<div class="loader"></div>
.loader { width: 60px; height: 60px; background: #4285f4; border-radius: 10%; animation: dice3 7s ease-in-out infinite; filter: drop-shadow(2px 3px 40px #444); } @keyframes dice3 { from, to { transform: translateX(-50px) rotateX(0deg);