1、仅 Safari 3+ 和 Opera 9+ 识别的 Hack
@media all and (min-width: 0px) {
/* Safari 3+ and Opera 9+ rules here */
}
或者
media screen and (-webkit-min-device-pixel-ratio:0) {
/* Safari 3+ and Opera 9+ rules here */
}
2、仅 Firefox 3 和 IE7 识别的 Hack
selector, x:-moz-any-link, x:default {
/* Firefox 3 and IE7 rules here */
}
注:由于 Firefox 2 和 Firefox 3 共存,且两个版本对 CSS 的解析有部分不一致,或许用得着这个 Hack 。
挖友还挖到了什么 · · · · · ·