Ok, so I have the following input field:
#SignUser {
padding: 12px 15px 12px 15px;
border: none;
border-radius: 2px;
outline: none;
font-family: 'Open Sans', sans-serif;
font-size: 16px;
position: relative;
left: 20px;
top: 20px;
width:310px;
}
On focus, I want to give this a slight border:
#SignUser:focus {
border: 1px solid black;
}
Before
After
It's hard to explain, but it makes the input field move slightly. How can I add a border, but I have the input field stay still?
I apologize if I haven't explained my problem clearly enough, this is my first question on SO.