-
-
Save kmiyashiro/1140425 to your computer and use it in GitHub Desktop.
HTML5 Boilerplate Conditional comments in Jade
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
!!! 5 | |
//if lt IE 7 | |
html(class="no-js ie6 oldie", lang="en") | |
//if IE 7 | |
html(class="no-js ie7 oldie", lang="en") | |
//if IE 8 | |
html(class="no-js ie8 oldie", lang="en") | |
// [if gt IE 8] <! | |
html(class="no-js", lang="en") | |
// <![endif] | |
head | |
title= title | |
body!= body |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you please define 'now'?
Which versions are concerned by the
// IE 8
syntax and which are not?Thanks.