css属性在ie6,7,8下的区分

“9”可以将ie浏览器与其他浏览器区分开

ie6,ie7可识别“+”

只有ie6能识别“_”

例:

.aa{
    background-color:#fff;/*所有浏览器都识别*/
   . background-color:#f009;/*ie6,7,8识别*/
    +background-color:#00f;/*ie6,7识别*/
   _ background-color:#0f0;/*ie6识别*/
}
原文地址:https://www.cnblogs.com/yihen-dian/p/8513400.html