Created
February 2, 2016 11:52
-
-
Save publicJorn/308c0b77e69564811a4b to your computer and use it in GitHub Desktop.
IE conditional comments set class on html tag
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
<!DOCTYPE html> | |
<!-- (remove me) | |
Also consider setting: | |
class `no-js` : remove (or set to `js`) with javascript | |
--> | |
<!--[if IEMobile 7 ]> <html dir="ltr" lang="nl" class="iem7"> <![endif]--> | |
<!--[if lt IE 7 ]> <html dir="ltr" lang="nl" class="ie6 oldie"> <![endif]--> | |
<!--[if IE 7 ]> <html dir="ltr" lang="nl" class="ie7 oldie"> <![endif]--> | |
<!--[if IE 8 ]> <html dir="ltr" lang="nl" class="ie8 oldie"> <![endif]--> | |
<!--[if (gte IE 9)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html dir="ltr" lang="nl"><!--<![endif]--> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width"> | |
<meta name="description" content=""> | |
<title></title> | |
<link rel="stylesheet" href="" /> | |
</head> | |
<body> | |
<!-- scripts --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment