给input的height设定一个较小的高度,然后用padding去填充,基本上可以解决所有浏览器的问题
input{
height: 16px;
padding: 4px 0px;
font-size: 12px;
}
--------------------- 本文来自 水中熊 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/gmd_web/article/details/55254239?utm_source=copy
在不同浏览器中,input里面的输入光标大小表现形式却大不相同
原文:https://www.cnblogs.com/beimingbingpo/p/9732633.html