While you won’t need to do this very often, sometimes you need some Firefox specific CSS to fix compatibility issues. With this code you can target desktop versions of firefox, both Mac and PC. Simply place this in your CSS file, make a new one, or add the code in your “head” tag.

The CSS

@-moz-document url-prefix() {
  #cssid {
     /*Firefox specific CSS here*/
  }
}

Leave a Reply