IE11 CSS hack
IE11 怎么做 CSS hack ?
很简单。
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .ant-form-item-control .ant-input { line-height: 0; } }
另外,在 Ant Design Pro 项目里,用less写这种hack也是可行的。
posted on 2020-04-21 17:19 fox_charon 阅读(953) 评论(0) 编辑 收藏 举报