标签:auto ant 备份 none 兼容 span one switch style
hack 速查表
思路:
@media screen and (min-width:0\0) and (min-resolution: +72dpi) { /*IE9+ CSS*/ .carController { width: 500px; } .el-switch { width: 300px !important; } } @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { .carController { width: auto !important } }
比如上面是之前人写的ie向上兼容方案,结果ie11出了问题不兼容,然后下面一条写的是ie10向上兼容方案,完美解决
标签:auto ant 备份 none 兼容 span one switch style
原文地址:https://www.cnblogs.com/lsc-boke/p/10996964.html