【发布时间】:2013-03-09 15:20:33
【问题描述】:
我知道这对于 css 条件格式是可能的:
<!--[if !IE]>
link/css style goes here
<![endif]-->
但是那里有可能有一个 OR 语句吗?如:
<!--[if !IE or !Opera]>
link/css style goes here
<![endif]-->
提前致谢!
【问题讨论】:
-
请记住 IE(并且只有旧版本)是唯一支持这些语句的浏览器。最好写跨浏览器的CSS
-
另外,虽然这有点老了,但这个密切相关的问题可能会提供额外的见解 stackoverflow.com/questions/4332117/… ,也相关 stackoverflow.com/questions/454863/…