Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> input, textarea { padding: 5px; } span { display: block; padding: 15px 0 3px; } input:focus, textarea:focus, select:focus { outline: none; } </style> </head> <body> <h3>Removed Input Highlighting for input, textarea and select form fields</h3> <form> <span>An input field:</span> <input type="text"> <span>A textarea field:</span> <textarea></textarea> <span>A select field:</span> <select> <option>Select</option> <option>Select</option> </select> </form> </body> </html>