Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> input:default { box-shadow: 0 0 2px 2px #1c87c9; } .example { margin: 20px auto; font-size: 20px; } </style> </head> <body> <h2>Exemple du sélecteur :default</h2> <div class="example"> <p>Vous aimez le café?</p> <input type="radio" name="radios" id="ex1" checked> <label for="ex1">Oui</label> <br/> <input type="radio" name="radios" id="ex2"> <label for="ex2">Non</label> </div> </body> </html>