Why does input[type=“text”] change size on focus?
Say I have an input.
When clicked, the input changes size. How do I stop this?
If you’re looking in Chrome, it’s because of the following default user-agent styling:
Therefore you need to set the
0 when focusing on the element: