Skip to main content
Home / Code Snippets / CSS / CSS Hacks Targeting Firefox

CSS Hacks Targeting Firefox

Firefox 2

html>/**/body .selector, x:-moz-any-link {
  color: lime;
}

Firefox 3

html>/**/body .selector, x:-moz-any-link, x:default {
  color: lime;
}

Any Firefox

@-moz-document url-prefix() { 
  .selector {
     color: lime;
  }
}
icon-link icon-logo-star icon-search icon-star