Created
July 13, 2012 13:46
-
-
Save mikefowler/3104974 to your computer and use it in GitHub Desktop.
IE Conditional Classes on <html> 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 IE 7 | |
<html class="no-js lt-ie9 lt-ie8" lang="en"> | |
//if IE 8 | |
<html class="no-js lt-ie9" lang="en"> | |
<!--[if gt IE 8]><!--> | |
html(class='no-js', lang='en') | |
<!--<![endif]--> | |
head | |
title Yes, it's super messy. | |
body | |
h1 But it gets the job done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment