将input的line-height设置为normal即可,让浏览器自己去判断
placeholder在某些浏览器下不垂直居中问题
原创chenhuixfyy 博主文章分类:学习工作笔记 ©著作权
文章标签 浏览器 normal 垂直居中 line-height 文章分类 前端开发
-
实现浏览器垂直水平居中的 DIV
下面这个例子可以在页面上建立一个垂直水平居中的 DIV........
html xml 3c 绝对定位 css