Created
April 1, 2013 12:37
-
-
Save victorpavlov/5284727 to your computer and use it in GitHub Desktop.
Individual for Google Chrome and some webkit browsers, and Opera in some cases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* will be red only in google chrome */ | |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
#test1{color:red;} | |
} | |
/* will be red only in opera and google chrome */ | |
#test2 { | |
color:green; | |
-bracket-:hack(; | |
color:red; | |
); | |
} | |
/* will be red only in google chrome */ | |
#test3{ | |
color:green; | |
(-bracket-:hack; | |
color:red; | |
); | |
} | |
/* will be red only in google chrome */ | |
#test4{ | |
color:green; | |
-bracket-:hack[; | |
color:red; | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment