Neon Pulses - 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>Neon Pulses</title> <style> body, html { margin: 0; padding: 0; overflow: hidden; height: 100%; background: #000; display: flex; justify-content: center; align-items: center; } .pulse { position: absolute; width: 20px; height: 20px; background: #00ff00; border-radius: 50%; animation: pulse-animation 1.5s infinite; box-shadow: 0 0 10px #00ff00; } @keyframes pulse-animation { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(5); opacity: 0; } } </style> </head> <body> <div class="pulse"></div> <script> setInterval(() => { const pulse = document.createElement('div'); pulse.className = 'pulse'; pulse.style.left = `${Math.random() * 100}%`; pulse.style.top = `${Math.random() * 100}%`; document.body.appendChild(pulse); setTimeout(() => pulse.remove(), 1500); }, 300); </script> </body> </html>