diff options
| author | Thomas McDonald <[email protected]> | 2015-08-09 23:33:52 -0700 |
|---|---|---|
| committer | Thomas McDonald <[email protected]> | 2015-08-09 23:33:52 -0700 |
| commit | b84bb4e218892a45c2c27a861da73900971b17a1 (patch) | |
| tree | b010ad9748480e6b80284051f1a5d9548c51634b /docs/getting-started/overview.md | |
| parent | 0ef0825d013dedd5f7c0e8acb8a23d033bf56be0 (diff) | |
| parent | 317c667d1c0d1d0984d863d9d4baad9e1a25b1c6 (diff) | |
| download | bootstrap-b84bb4e218892a45c2c27a861da73900971b17a1.tar.xz bootstrap-b84bb4e218892a45c2c27a861da73900971b17a1.zip | |
Merge branch 'v4' into force-expanded
Diffstat (limited to 'docs/getting-started/overview.md')
| -rw-r--r-- | docs/getting-started/overview.md | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/docs/getting-started/overview.md b/docs/getting-started/overview.md index 84dc5c712..c5a6c4822 100644 --- a/docs/getting-started/overview.md +++ b/docs/getting-started/overview.md @@ -1,30 +1,26 @@ --- layout: page -title: Start using Bootstrap +title: Quick start group: getting-started --- -Quickly add Bootstrap to your project via the Bootstrap CDN, graciously provided by the MaxCDN folks. +Looking to quickly add Bootstrap to your project? Use the Bootstrap CDN, provided for free by the folks at MaxCDN. Using a package manager or need to download the source files? [Head to the downloads page.]({{ site.baseurl }}/getting-started/download) -## Include CSS and JS - -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> +Copy-paste the stylesheet `<link>` into your `<head>` before all other stylesheets to load our CSS. {% 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. +Add our JavaScript plugins and jQuery near the end of your pages, 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 %} +And that's it—you're your way to a fully Bootstrapped site. If you're at all unsure about the general page structure, keep reading for an example page template. + ## Page template Be sure to have your pages set up with the latest design and development standards. That means: @@ -40,16 +36,18 @@ Put it all together and your pages should look like this: <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta http-equiv="x-ua-compatible" content="ie=edge"> + <!-- Bootstrap CSS --> <link rel="stylesheet" href="{{ site.cdn.css }}"> </head> <body> <h1>Hello, world!</h1> + <!-- jQuery first, then Bootstrap JS. --> <script src="{{ site.cdn.jquery }}"></script> <script src="{{ site.cdn.js }}"></script> </body> </html> {% endhighlight %} -And that's it. Happy Bootstrapping! +That's all you need for overall page requirements. Visit the [Layout docs]({{ site.baseurl }}/layout/scaffolding) to start laying out your site's content before adding components. |
