Skip to content

Instantly share code, notes, and snippets.

@bryanwillis
Last active March 7, 2016 01:33
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 bryanwillis/8edbfaa3b041bb041768 to your computer and use it in GitHub Desktop.
Save bryanwillis/8edbfaa3b041bb041768 to your computer and use it in GitHub Desktop.
Respond JS with bootstrap on CDN and local for ie6-8 media queries
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap CDN with Respond IE8 Support</title>
<!--[if gte IE 9]><!--><link href="https://cdn.jsdelivr.net/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"><!--<![endif]-->
<!--[if lt IE 9]><link href="css/bootstrap.min.css" rel="stylesheet"><script src="https://cdn.jsdelivr.net/g/html5shiv@3.7.3,respond@1.4.2"></script><![endif]-->
</head>
<body>
<!-- JQuery and Bootstrap -->
<script src="https://cdn.jsdelivr.net/g/jquery@1.11.3,bootstrap@3.3.6"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment