I want to style the input element as mentioned below.
I did this by removing border property and adding border-bottom alone. But when I am entering text in that, some border is appearing.
How can I remove the border when the input is focused? Is there any way that we can do it using only CSS (like any pseudo element) without using scripting.
<div><span>First Name</span><span class="spacing" style="
display: inline-block;
width: 10px;
"></span><input type="text" style="
border: 0px;
border-bottom: 1px solid black;
"></div>

