- safari浏览器对select默认上下边距padding各多出3px的高度,统一高度写法如下
input{height:30px;line-height:30px;[;height:24px;line-height:24px;]}
- safari浏览器input字体大小统一
input::-webkit-input-placeholder { font-size:1rem;}
- input要写height,只写line-height在IE会只显示一半内容
input{height:30px;line-height:30px;[;height:24px;line-height:24px;]}
input::-webkit-input-placeholder { font-size:1rem;}