Neon Glow Button - 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 Glow Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #1a1a1a; margin: 0; } .neon-button { position: relative; padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #1a1a1a; border: none; border-radius: 30px; box-shadow: 0 0 20px #00ff99, 0 0 30px #00ff99, 0 0 40px #00ff99; cursor: pointer; overflow: hidden; transition: all 0.3s ease; outline: none; } .neon-button::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, #00ff99, transparent); animation: neon 2s linear infinite; } .neon-button:hover::before { animation: neon 1s linear infinite; } .neon-button span { position: relative; z-index: 1; } @keyframes neon { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } </style> </head> <body> <button type="button" class="neon-button"> <span>Neon Glow</span> </button> </body> </html>