Skip to content

Instantly share code, notes, and snippets.

@leompeters
Created June 2, 2015 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leompeters/d7aa91296201a827ecc8 to your computer and use it in GitHub Desktop.
Save leompeters/d7aa91296201a827ecc8 to your computer and use it in GitHub Desktop.
Polyfill for CSS3 Media Queries Respond.js, HTML 5 shim which enables use of HTML5 elements, and a proper IE <meta> tag in the HTML head to ensure that IE is not running in compatibility mode.
<head>
...
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment