使用@media实现IE hack的方法

仅IE6和IE7识别   @media screen\9 { .selector { property: value; } } 仅IE6和IE7、IE8识别   @media \0screen\,screen\9 { .selector { property: value; } } 仅IE8识别   @media \0screen { .selector { property: value; } } 仅IE8-10识别   @media screen\0 { .selector { property: value; } } 仅IE9和IE10识别   @media screen and (min-width:0\0) { .selector { property: value; } } 仅IE10识别   @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* IE10-spe   仅支持谷歌 @media screen and (-webkit-min-device-pixel-ratio:0) { .footer .layout-help { padding-bottom:357px; } } 

2017-09-14 01:35 浏览(53) 留言(0)