目前公司只是兼容到IE8。。。so
div{
background-color: red\0; /*ie8/9*/
background-color: blue\9\0; /*ie9*/
}
csshack的顺序
background-color:red \0 IE8,IE9都支持
background-color:blue \9\0 仅仅支持IE9
css hack书写顺序,先写非IE得浏览器,然后在写IE8IE9所需要的样式
目前公司只是兼容到IE8。。。so
div{
background-color: red\0; /*ie8/9*/
background-color: blue\9\0; /*ie9*/
}
background-color:red \0 IE8,IE9都支持
background-color:blue \9\0 仅仅支持IE9
css hack书写顺序,先写非IE得浏览器,然后在写IE8IE9所需要的样式