Input's placeholder is not centered vertically on the mobile end.

as mentioned in the question, the placeholder of the simulated mobile phone is vertically centered and the font size is the same as the input font on both the PC side and the PC side, but accessing the placeholder font from the mobile phone will become smaller and aligned at the top. What should I do to solve the problem? Input {line-height:normal}

has been set globally

PC
clipboard.png

clipboard.png


it is recommended that you take a look at
mobile page text vertical center compatibility

Menu