【发布时间】:2011-11-01 17:06:13
【问题描述】:
在this MS compatibility table 上它说,IE9 不支持伪元素::before 和::after,但是当我尝试它时,它似乎确实......见JSBin
我做错了吗?我认为::before 和::after 会是很好的工具来隐藏 IE9 中的内容,而事实上它们并没有。
【问题讨论】:
-
caniuse.com/#feat=css-sel2 检查图表下方的“已知问题”标签。
-
@inhan: 没说 IE9。
-
@BoltClock 我的错,对不起。 caniuse.com/#search=%3Aafter
-
@inhan: 里面也没有关于 IE9 的内容...
-
@BoltClock 查看 IE 列并查看版本号。我要发截图吗?
标签: css internet-explorer-9 css-selectors pseudo-element