Skip to content

Instantly share code, notes, and snippets.

@bryanwillis bryanwillis/test.html
Last active Mar 7, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.