Glowing Span - 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 Span</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #2c3e50; margin: 0; font-family: Arial, sans-serif; } .glowing-span { display: inline-block; padding: 10px 20px; font-size: 1.5rem; color: #fff; text-transform: uppercase; background: #8e44ad; border-radius: 50px; box-shadow: 0 0 10px #8e44ad, 0 0 20px #8e44ad, 0 0 40px #8e44ad, 0 0 80px #8e44ad; cursor: pointer; transition: all 0.3s ease; } .glowing-span:hover { box-shadow: 0 0 20px #8e44ad, 0 0 40px #8e44ad, 0 0 80px #8e44ad, 0 0 160px #8e44ad; } </style> </head> <body> <span class="glowing-span">Glowing Text</span> <script> document.querySelector('.glowing-span').addEventListener('click', function() { alert('Glowing Span clicked!'); }); </script> </body> </html>