HTML CSS examples for CSS Property:border-bottom
Input text field with bottom border
<html> <head> <title>Safari isn't working correctly..</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> input[type=text] { width: 100%; padding: 12px 20px; margin: 8px 0; box-sizing: border-box; border: 2px solid grey; border-width:0px 0px 2px 0px; } input[type=text]:focus { outline:none; border-image: linear-gradient(to right, #DEAFDB 0%, #EFB9AD 100%) 1; border-width:0px 0px 2px 0px; } </style> </head> <!--from www. j a v a2s.c o m--> <body> <form> <label for="test">test</label> <input type="text" id="test" name="test"> </form> </body> </html>