Skip to content

Instantly share code, notes, and snippets.

@nathansmith
Created March 22, 2011 01:51
Show Gist options
  • Star 32 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save nathansmith/880619 to your computer and use it in GitHub Desktop.
Save nathansmith/880619 to your computer and use it in GitHub Desktop.
Target Firefox and WebKit via hacky CSS.
/*
Read more here:
https://developer.mozilla.org/en/CSS/@-moz-document
For more browser-specific hacks:
http://paulirish.com/2009/browser-specific-css-hacks/
*/
@-moz-document url-prefix() {
// Put your Firefox specific code here.
span {
color: black;
font-weight: bold;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment