Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> input:default { box-shadow: 0 0 2px 2px #1c87c9; } .example { margin: 20px auto; font-size: 20px; } </style> </head> <body> <h2>Пример селектора :default</h2> <div class="example"> <p>Вы любите кофе?</p> <input type="radio" name="radios" id="ex1" checked> <label for="ex1">Да</label> <br/> <input type="radio" name="radios" id="ex2"> <label for="ex2">Нет</label> </div> </body> </html>