Skip to content

Instantly share code, notes, and snippets.

@jonschlinkert
Created November 21, 2012 05:23
Show Gist options
  • Save jonschlinkert/4123237 to your computer and use it in GitHub Desktop.
Save jonschlinkert/4123237 to your computer and use it in GitHub Desktop.
bootstrap starter template with cdn assets
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Starter Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- styles -->
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap.min.css" rel="stylesheet">
<style> body {padding-top: 60px; } </style>
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-responsive.min.css" rel="stylesheet">
<!-- scripts -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.2/underscore-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.2.1/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h1>Starter template</h1>
</div> <!-- /container -->
</body>
</html>
@perone
Copy link

perone commented Jul 6, 2018

Failing

@elderj
Copy link

elderj commented Jul 14, 2018

@perone looks like the CDN links are broken and still referencing bootstrap 2.

If you're in need of a functioning (bootstrap 3) template :
https://gist.github.com/elderj/432df4386febe968a3ee9ba15f6da067

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment