Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> body { background-color: #eee; } input[type="text"], input[type="password"], textarea { border: none; outline: none; border-bottom: 1px solid #ccc; /* You can adjust the color and thickness of the outline */ } </style> </head> <body> <form> <p>Ordinary input field with box outline:</p> <input type="text" placeholder="Enter Something" /> <p>Input field without outline:</p> <input type="text" class="no-outline" placeholder="Enter Something" /> </form> </body> </html>