Forked from helloluis/Slim HTML5 Boilerplate Conditional Comments
Created
March 3, 2012 18:46
-
-
Save lxcodes/1967451 to your computer and use it in GitHub Desktop.
How to get HTML5 Boilerplate-style Conditional Comments Working in Slim
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 | |
/[if lt IE 7] | |
| <html class="ie6"> | |
/[if IE 7] | |
| <html class="ie7"> | |
/[if IE 8] | |
| <html class="ie8"> | |
/[if IE 9] | |
| <html class="ie9"> | |
| <!--[if (gte IE 9)|!(IE)]<!--> <html> <!--<![endif]--> | |
head | |
/ various head stuff | |
body | |
/ various body stuff | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment