Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
javascripts and css fallbacks examples
<!-- Bootstrap CSS CDN -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script>
// html5shiv local fallback
window.html5 || document.write('<script src="vendor/afarkas/html5shiv/dist/html5shiv.js"><\/script>')
</script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<script>
// respond.js local fallback
window.respond || document.write('<script src="vendor/scottjehl/respond/respond.min.js"><\/script>')
</script>
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.