Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Browser specific CSS
/* Firefox */
@-moz-document url-prefix() {
body {
color: #f00;
}
}
/* Safari & Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {
body {
color: #ccc;
}
}
/* IE 11 (and above) */
_:-ms-fullscreen, :root .ie11up {
body {
color: #000;
}
}
/* IE 8,9 and 10 */
@media screen\0 {
.ie8910 {
property: value;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.