Created
August 2, 2011 01:12
-
-
Save rnmp/1119387 to your computer and use it in GitHub Desktop.
Haml fallback for IE.
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
/[if IE] | |
:javascript | |
document.body.className += ' ie'; | |
/[if IE 6] | |
:javascript | |
document.body.className += ' ie6'; | |
/[if IE 7] | |
:javascript | |
document.body.className += ' ie7'; | |
/[if IE 8] | |
:javascript | |
document.body.className += ' ie8'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment