Skip to content

Instantly share code, notes, and snippets.

@ron4stoppable
Forked from nathansmith/moz-webkit.css
Created July 30, 2018 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ron4stoppable/71c92da04b32e18d16edd4ee3140a405 to your computer and use it in GitHub Desktop.
Save ron4stoppable/71c92da04b32e18d16edd4ee3140a405 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;
}
}
@media (-webkit-min-device-pixel-ratio: 0) {
/* Put your WebKit 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