aboutsummaryrefslogtreecommitdiff
path: root/docs/getting-started/index.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-04-18 18:15:58 -0700
committerMark Otto <[email protected]>2015-04-18 18:15:58 -0700
commitfbfba7b212776fbbf04bf89b8ba4cc054207eb8d (patch)
treec5e5fdd1fda3479d6fc72aa82f42c86b2ba11659 /docs/getting-started/index.md
parent209cdf33f9c05676a975a25524cbeab5ab0bdadf (diff)
downloadbootstrap-fbfba7b212776fbbf04bf89b8ba4cc054207eb8d.tar.xz
bootstrap-fbfba7b212776fbbf04bf89b8ba4cc054207eb8d.zip
Move getting started's quick start to the getting started index
Diffstat (limited to 'docs/getting-started/index.md')
-rw-r--r--docs/getting-started/index.md46
1 files changed, 45 insertions, 1 deletions
diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md
index 0cf653907..fafcf3418 100644
--- a/docs/getting-started/index.md
+++ b/docs/getting-started/index.md
@@ -3,4 +3,48 @@ layout: page
title: Getting started
---
-todo: this entire page \ No newline at end of file
+Quickly add Bootstrap to your project via the [Bootstrap CDN](http://bootstrapcdn.com), graciously provided by the [MaxCDN](http://www.maxcdn.com/) folks.
+
+Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets.
+
+<div class="alert alert-warning">
+ <strong>Heads up!</strong> Much of this page will be inaccurate during the v4 alpha releases.
+</div>
+
+{% highlight html %}
+<link rel="stylesheet" href="{{ site.cdn.css }}">
+{% endhighlight %}
+
+Then, add the Bootstrap JavaScript—and jQuery—near the end of your pages. It's best placed right before the closing `</body>` tag. Be sure to place jQuery first as our code depends on it.
+
+{% highlight html %}
+<script src="{{ site.cdn.jquery }}"></script>
+<script src="{{ site.cdn.js }}"></script>
+{% endhighlight %}
+
+Be sure to have your pages set up with the latest design and development standards. That means:
+
+* Using an HTML5 doctype
+* Forcing Internet Explorer to use its latest rendering mode ([read more]())
+* And, utilizing the viewport meta tag.
+
+Put it all together and your pages should look like this:
+
+{% highlight html %}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <link rel="stylesheet" href="{{ site.cdn.css }}">
+ </head>
+ <body>
+ <h1>Hello, world!</h1>
+
+ <script src="{{ site.cdn.jquery }}"></script>
+ <script src="{{ site.cdn.js }}"></script>
+ </body>
+</html>
+{% endhighlight %}
+
+And that's it. Happy Bootstrapping!