Prev Demo
Border:None
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title></title> <style> input[type=text] { width: 100%; border: none; border-bottom: 2px solid green; } </style> </head> <body> <p>Text fields with only a bottom border:</p> <form> <label for="fname">First Name</label> <input type="text" id="fname" name="fname"> <label for="fname">Last Name</label> <input type="text" id="lname" name="lname"> </form> </body> </html>
Note: We DO NOT save your trial code in our database.
Output