Input with border bottom only

To make input with only border bottom:

  • Remove all the borders in CSS with border: none.
  • Add the border-bottom.

Example:

<input type="text" style="border: none; border-bottom: 2px solid green; background: #eee">

Output: