Open Lenny-Hu opened 3 years ago
q1: 无论怎么设置IE无法垂直居中
/* IE10+ CSS styles go here */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
html,
body {
font-family: "宋体", 'Microsoft YaHei', Arial, sans-serif !important; // 使用宋体能解决上下对齐问题
}
}
移动端文字无法垂直居中(或line-height不起作用)的问题的解决方案
q1:安卓端微信浏览器(QQ浏览器内核)文字无法居中。
更多参考 https://blog.csdn.net/weixin_34150224/article/details/89069240