Skip to content

Instantly share code, notes, and snippets.

@jesgundy
Created June 12, 2014 19:20
Show Gist options
  • Save jesgundy/90447720c473df0ca675 to your computer and use it in GitHub Desktop.
Save jesgundy/90447720c473df0ca675 to your computer and use it in GitHub Desktop.
Conditional HTML classes.
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment