Last active
August 29, 2015 14:10
-
-
Save alexbaulch/035f8c7c2096530bf0d8 to your computer and use it in GitHub Desktop.
adding IE specific classes to the html tag to enable styling based on just specific versions of IE
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="lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="lt-ie10 lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="lt-ie10 lt-ie9" lang="en"> <![endif]--> | |
<!--[if IE 9]> <html class="lt-ie10" lang="en"> <![endif]--> | |
<!--[if gt IE 9]><!--> | |
<html class="" lang="en"> | |
<!--<![endif]--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment