IE7 CSS Hack

IE7 CSS Hack
导读:

前提:不考虑IE6以下的版本、且运行环境为标准模;IE11未做测试

IE7 CSS Hack

IE7 CSS Hack only

* + html .test{color:#ff0;}     /* For IE7 */

other IE7 CSS Hack

.demo{*color:#090;/* For IE7- */} 
.demo{+color:#090;/* For IE7- */} 
.demo{#color:#090;/* For IE7- */} 
.demo{>color:#090;/* For IE7- */}
.demo{.color:#090;/* For IE7- */}
.demo{color:#090\9;/* For IE6+ */}
.demo{[;color:#f00;];/* For IE7- and webkit */}
.demo{color:#090\9;/* All IE */}