Glowing Grid - 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>Glowing Grid</title> <style> body, html { margin: 0; padding: 0; overflow: hidden; height: 100%; background: #000; display: flex; justify-content: center; align-items: center; } .grid { display: grid; grid-template-columns: repeat(20, 1fr); grid-template-rows: repeat(20, 1fr); width: 80vmin; height: 80vmin; } .cell { border: 1px solid rgba(255, 255, 255, 0.1); animation: glow 2s infinite; } @keyframes glow { 0%, 100% { box-shadow: 0 0 5px #0ff; } 50% { box-shadow: 0 0 20px #0ff; } } </style> </head> <body> <div class="grid"> <script> const grid = document.querySelector('.grid'); for (let i = 0; i < 400; i++) { const cell = document.createElement('div'); cell.className = 'cell'; cell.style.animationDelay = `${Math.random() * 2}s`; grid.appendChild(cell); } </script> </div> </body> </html>