Created
July 7, 2014 07:26
-
-
Save apphp/352c5793bbf5c1e74549 to your computer and use it in GitHub Desktop.
This solution is based on Chrome specific CSS extension. Other browsers will ignore this rule.
This file contains hidden or 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
| <style type="text/css"> | |
| @media screen and (-webkit-min-device-pixel-ratio:0) { | |
| H5 { color:red; } | |
| P { margin-left:20px; } | |
| /* other special styles for Chrome here */ | |
| } | |
| </style> | |
| // source: http://www.apphp.com/index.php?snippet=css-targeting-chrome-only |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment