Created
August 26, 2014 20:15
-
-
Save josephmosby/01d15fbc2f821e67cf44 to your computer and use it in GitHub Desktop.
IE 10 and 11 targeting
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
jQuery(document).ready( function() { | |
var doc = document.documentElement; | |
doc.setAttribute('data-useragent', navigator.userAgent); | |
}); |
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
html[data-useragent*='MSIE 10.0'] h1, html[data-useragent*='.NET'] h1 { | |
/* styles go here */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment