CSS rule to target only Firefox
05 Apr 2010I just found (via enure.net) a CSS rule using proprietary Mozilla filter that would allow one to specifically target Mozilla.
I'm not a huge fan of CSS hacks like that, I usually restrain them to the bare minimum of IE conditional comments. But in some edge cases, it is sometimes useful, if you really don't have other options.
I'd like to find the equivalent rules (using proprietary rules, no parser bug) for Safari, Chrome and Opera
@-moz-document url-prefix() {
p { color: red; }
}
Want to add something ? Feel free to get in touch on Twitter : @pixelastic