*>.selector { color: red; }
CSS Hacks targeting Firefox 1.5 and newerThis hack targets Firefox versions 1.5 and newer:
/* Target Firefox 1.5 and newer [!] */
.selector, x:-moz-any-link, x:only-child { color: red; }
CSS Hacks targeting Firefox 2 and older
These hacks target Firefox 2 and older:
/* Target Firefox 2 and older [!] */
body:empty .selector { color: red; }
/* Target Firefox 2 and older */
#selector[id=SELECTOR] { color: red; }
/* Target FireFox 2 and older [!] */
html>/**/body .selector, x:-moz-any-link { color: red; }
CSS Hacks targeting Firefox 3
This hack targets Firefox 3 (and possibly newer):
/* Target FireFox 3 [!] */
html>/**/body .selector, x:-moz-any-link, x:default { color: red; }
Ý kiến bạn đọc [ 0 ]
Ý kiến của bạn