After removing the default borders on a textbox using outline:none;
, I noticed that adding a background image caused the border to reappear, and I couldn't get rid of it!
How can I solve this issue? Here is the code for the textbox:
<input type = "text" placeholder = "Username" class = "txt_input">
Here is the accompanying CSS:
background: url('images/user-icon.png') left no-repeat;
margin-bottom: 5px;
box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.5);
font-family: 'ProximaNova-Bold';
outline: none;
width: 200px;
height:30px;
text-align: center;
text-transform: capitalize;
padding:15px;
padding-left:21px;