Skip to content

Instantly share code, notes, and snippets.

@tsevdos
Created January 2, 2012 15:47
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tsevdos/1551173 to your computer and use it in GitHub Desktop.
Save tsevdos/1551173 to your computer and use it in GitHub Desktop.
Conditional CSS for Webkit-based browsers
@media screen and (-webkit-min-device-pixel-ratio:0) {
/* CSS Statements that only apply on webkit-based browsers (Chrome, Safari, etc.) */
body { background:red; }
}
@fancyboynet
Copy link

The firefox will also apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment