1. cliveportman
  2. /code
  3. /firefox-css-hack

Firefox CSS hack

Rather than use conditionals within the <head> element and serve different stylesheets, my preference is to have conditionals inside the stylesheet. Here's how you target Firefox:

@-moz-document url-prefix() {
     p {font-size: 22px;}
}