Skip to content

Instantly share code, notes, and snippets.

@joemay
Created April 7, 2013 01:36
Show Gist options
  • Select an option

  • Save joemay/5328472 to your computer and use it in GitHub Desktop.

Select an option

Save joemay/5328472 to your computer and use it in GitHub Desktop.
Conditional HTML class less than IE 10
<!--[if lt IE 7 ]> <html class="ie6 lt-ie10 lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7 ]> <html class="ie7 lt-ie10 lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8 ]> <html class="ie8 lt-ie10 lt-ie9"> <![endif]--> <!--[if IE 9 ]> <html class="ie9 lt-ie10"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class=""> <!--<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment