Created
July 17, 2014 09:57
-
-
Save willwright82/c94c8955ca312ecdb998 to your computer and use it in GitHub Desktop.
Conditional CSS
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
<!--[if lt IE 7]> <html class="ie6"> <![endif]--> | |
<!--[if IE 7]> <html class="ie7"> <![endif]--> | |
<!--[if IE 8]> <html class="ie8"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html> <!--<![endif]--> | |
<style> | |
div.foo { color: inherit;} | |
.ie6 div.foo { color: #ff8000; } | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment