Skip to content

Instantly share code, notes, and snippets.

@Mao8a
Last active May 1, 2020 05:22
Show Gist options
  • Save Mao8a/7913331 to your computer and use it in GitHub Desktop.
Save Mao8a/7913331 to your computer and use it in GitHub Desktop.
HTML: Conditional class for crossbrowsing
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class=""> <!--<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment