Skip to content

Instantly share code, notes, and snippets.

@micjamking
Created June 1, 2017 20:23
Show Gist options
  • Save micjamking/e9b617b05bff61da67391e222b8edf78 to your computer and use it in GitHub Desktop.
Save micjamking/e9b617b05bff61da67391e222b8edf78 to your computer and use it in GitHub Desktop.
How To Create an IE-Only Styles
<!DOCTYPE html>
<!--[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" <?php language_attributes(); ?>> <!--<![endif]-->
// ...
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment