Home › Forums › CSS › Placeholder jumps on input:focus › Reply To: Placeholder jumps on input:focus
February 24, 2016 at 8:14 am
#238383
bearhead
Participant
I think the root of the issue is that the placeholder font-size is larger than the input text font size. It seems like setting line-height
to 1.8rem or 18px (so it matches the placeholder font) for the input fixes the jumping.