Textfield with only bottom border

HtmlCss

Html Problem Overview


How can I create a Text field that has a transparent or no background, no top,left and right border?

I am only using CSS and HTML.

Html Solutions


Solution 1 - Html

Probably a duplicate of this post: https://stackoverflow.com/questions/10528000/a-customized-input-text-box-in-html-html5

input {
  border: 0;
  outline: 0;
  background: transparent;
  border-bottom: 1px solid black;
}

<input></input>

Solution 2 - Html

See this JSFiddle

input[type="text"] {
  border: 0;
  border-bottom: 1px solid red;
  outline: 0;
}

<form>
  <input type="text" value="See! ONLY BOTTOM BORDER!" />
</form>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRustyView Question on Stackoverflow
Solution 1 - HtmlJunMView Answer on Stackoverflow
Solution 2 - HtmlDouglas DenhartogView Answer on Stackoverflow