Neon Glow Radio 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 Radio Button</title> <style> body { font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; background: #121212; } .radio-group { display: flex; gap: 20px; } .radio { display: none; } .radio-label { position: relative; display: flex; align-items: center; cursor: pointer; font-size: 18px; padding-left: 40px; color: #fff; } .radio-label:before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #444; transition: background-color 0.3s, box-shadow 0.3s; } .radio:checked + .radio-label:before { background: #0f0; box-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0; } </style> </head> <body> <div class="radio-group"> <input type="radio" id="neon1" name="neons" class="radio" checked> <label for="neon1" class="radio-label"> <span>Neon 1</span> </label> <input type="radio" id="neon2" name="neons" class="radio"> <label for="neon2" class="radio-label"> <span>Neon 2</span> </label> <input type="radio" id="neon3" name="neons" class="radio"> <label for="neon3" class="radio-label"> <span>Neon 3</span> </label> </div> </body> </html>