Toggle navigation
☰
HTML
CSS
Scripting
Database
<!doctype html> <title>Example</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; font-family: sans-serif; background-color: #f0f0f0; } .bouncing-dots { display: flex; justify-content: center; align-items: center; gap: 8px; } .dot { width: 15px; height: 15px; background-color: #007bff; border-radius: 50%; animation: bounce 0.6s infinite alternate; } .dot:nth-child(2) { animation-delay: 0.2s; } .dot:nth-child(3) { animation-delay: 0.4s; } @keyframes bounce { to { transform: translateY(-15px); background-color: #0056b3; } } @media (prefers-reduced-motion: reduce) { .dot { animation: pulse-fade 1.5s infinite alternate; } .dot:nth-child(2) { animation-delay: 0.5s; } .dot:nth-child(3) { animation-delay: 1.0s; } } @keyframes pulse-fade { to { opacity: 0.3; } } </style> <div class="bouncing-dots" role="status" aria-label="Loading"> <div class="dot"></div> <div class="dot"></div> <div class="dot"></div> </div>