How to make an input field that shows only the line below not a square in css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make an input field that shows only the line below not a square in css?

Input field

8th Jul 2022, 9:51 AM
Valerie Pacudan
Valerie Pacudan - avatar
2 Answers
+ 4
Hopefully the following code helps, input{ border-width:0px; border-bottom:1px solid black; outline:none; }
8th Jul 2022, 10:08 AM
Abhay
Abhay - avatar
+ 1
Input{ border: none; border-bottom: solid 2px #000; }
9th Jul 2022, 11:04 AM
Lorenzo Sandoval
Lorenzo Sandoval - avatar