2020-06-04
移动端 Placeholder 与光标不居中

移动端 Placeholder 与光标 不居中

1
2
3
input {
line-height: normal;
}

通过设置 line-height 行高 为 normal 可以将移动端placeholder 居中显示

Read More