IE9 CSS黑客不';行不通

IE9 CSS黑客不';行不通,css,internet-explorer,internet-explorer-9,Css,Internet Explorer,Internet Explorer 9,我正在尝试仅为IE9应用一些css属性 以下是我的css代码: :root ul li.open, :root ul li.closed { list-style-position: outside \0/IE9; float:right \0/IE9; width:calc(100% - 20px) \0/IE9; } 我也试着这样做: :root ul li.open, :root ul li.closed { list-style-position: o

我正在尝试仅为IE9应用一些css属性 以下是我的css代码:

:root ul li.open,
:root ul li.closed {
    list-style-position: outside \0/IE9;
    float:right \0/IE9;
    width:calc(100% - 20px) \0/IE9;

}
我也试着这样做:

:root ul li.open,
:root ul li.closed {
    list-style-position: outside\;
    float:right\;
    width:calc(100% - 20px)\;

}
ul li.open,
ul li.closed {
    list-style-position: outside\9\0;
    float:right\9\0;
    width:calc(100% - 20px)\9\0;
}
就像这样:

:root ul li.open,
:root ul li.closed {
    list-style-position: outside\;
    float:right\;
    width:calc(100% - 20px)\;

}
ul li.open,
ul li.closed {
    list-style-position: outside\9\0;
    float:right\9\0;
    width:calc(100% - 20px)\9\0;
}

我遗漏了什么?

你能在代码片段中上传你的示例代码吗?还有,具体什么不起作用。CSS黑客是邪恶的。要解决IE9及以下问题,请使用一些更合理的方法,如IE条件注释。您可以在代码段中上载示例代码吗?还有,哪些方法不起作用。CSS黑客是邪恶的。要解决IE9及以下问题,请使用更理智的方法,如IE条件注释。