diff options
| author | Mark Otto <[email protected]> | 2016-10-10 14:18:16 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-10-10 14:18:16 -0700 |
| commit | addf93a9d29d6a8b79f26efacbd1886eee5bb78c (patch) | |
| tree | ec194a2b175c22b7e1a69051fce0251456369bad /docs/getting-started | |
| parent | 259fa88e3e451f4978ba11b8737fa84338376fdb (diff) | |
| download | bootstrap-addf93a9d29d6a8b79f26efacbd1886eee5bb78c.tar.xz bootstrap-addf93a9d29d6a8b79f26efacbd1886eee5bb78c.zip | |
rework download options to mention source, compiled, and cdn
Diffstat (limited to 'docs/getting-started')
| -rw-r--r-- | docs/getting-started/download.md | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md index 9aacf3113..389450867 100644 --- a/docs/getting-started/download.md +++ b/docs/getting-started/download.md @@ -7,11 +7,26 @@ group: getting-started **Bootstrap v{{ site.current_version}}** is available for download in several ways, including some of your favorite package managers. Choose from the options below to snag just what you need. +### Bootstrap CSS and JS + +**Download Bootstrap's ready-to-use code to easily drop into your project.** Includes compiled and minified versions of all our CSS bundles (default, flexbox-enabled, grid only, or Reboot only) and JavaScript plugins. Doesn't include documentation or source files. + +<a href="{{ site.download.dist }}" class="btn btn-lg btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Bootstrap');">Download Bootstrap</a> + ### Source files -Download everything: source Sass, JavaScript, and documentation files. **Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).** +**Want to compile Bootstrap with your project's asset pipeline?** Choose this option to download our source Sass, JavaScript, and documentation files. Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup). <a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a> +### Bootstrap CDN + +Skip the download and use the Bootstrap CDN to deliver Bootstrap's compiled CSS and JS to your project. + +{% highlight html %} +<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous"> +<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script> +{% endhighlight %} + ## Package managers Pull in Bootstrap's **source files** into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will **require a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), and [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes)** for a setup that matches our official compiled versions. |
