Neon Glow Radio Buttons - 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 Buttons</title> <style> body { font-family: 'Arial', sans-serif; background-color: #0e0e0e; color: #fff; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .radio-group { display: flex; flex-direction: column; gap: 15px; } .radio-container { display: flex; align-items: center; position: relative; cursor: pointer; } .radio-container input { position: absolute; opacity: 0; cursor: pointer; } .radio-checkmark { width: 25px; height: 25px; background-color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: box-shadow 0.3s, transform 0.3s; box-shadow: 0 0 15px #fff, 0 0 30px #fff, 0 0 45px #00ffff, 0 0 60px #00ffff, 0 0 75px #00ffff, 0 0 90px #00ffff, 0 0 105px #00ffff, 0 0 120px #00ffff; } .radio-checkmark::after { content: ''; width: 15px; height: 15px; background-color: #00ffff; border-radius: 50%; transform: scale(0); transition: transform 0.3s; } .radio-container input:checked ~ .radio-checkmark { transform: scale(1.1); } .radio-container input:checked ~ .radio-checkmark::after { transform: scale(1); } .radio-label { margin-left: 10px; font-size: 18px; } </style> </head> <body> <div class="radio-group"> <label class="radio-container"> <input type="radio" name="neon-radio" checked> <span class="radio-checkmark"></span> <span class="radio-label">Neon Option 1</span> </label> <label class="radio-container"> <input type="radio" name="neon-radio"> <span class="radio-checkmark"></span> <span class="radio-label">Neon Option 2</span> </label> <label class="radio-container"> <input type="radio" name="neon-radio"> <span class="radio-checkmark"></span> <span class="radio-label">Neon Option 3</span> </label> </div> </body> </html>