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

@document url("https://example.com") { 
  .selector {
     color:lime;
  }
}
icon-link icon-logo-star icon-search icon-star