Flash Loader - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Flash Loader</title> <style> body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); margin: 0; } .loader { display: flex; flex-direction: column; align-items: center; } .loader .icon { font-size: 4rem; animation: flash 1s infinite; } .loader .text { font-size: 1.5rem; margin-top: 20px; color: #fff; animation: flash 1.5s infinite; } @keyframes flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } </style> </head> <body> <div class="loader"> <div class="icon">⚡</div> <div class="text">Loading...</div> </div> <script> document.addEventListener('DOMContentLoaded', () => { setTimeout(() => { document.querySelector('.loader').innerHTML = '<div class="icon">✅</div><div class="text">Loaded!</div>'; }, 5000); }); </script> </body> </html>