Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .example { margin: 40px auto; max-width: 700px; } input[type=submit] { padding: .6em 1em; font-size: 1em; width: 100px; margin-bottom: 1em; } input[type=submit]:default { border: 4px dotted #8ebf42; } </style> </head> <body> <h2>:default selector example</h2> <div class="example"> <form action="#"> <input type="submit" value="Yes"> <input type="submit" value="No"> </form> </div> </body> </html>