0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/docs/index.html

115 lines
5.5 KiB
HTML
Raw Normal View History

2013-02-12 21:16:32 +01:00
---
layout: home
2013-02-12 21:16:32 +01:00
---
2016-01-26 13:58:19 +01:00
<main class="bd-masthead" id="content">
<div class="container">
<span class="bd-booticon outline">B</span>
<p class="lead">Bootstrap is the most popular HTML, CSS, and JS framework in the world for building responsive, mobile-first projects on the web.</p>
<p class="lead">
2016-11-30 13:48:34 +01:00
<a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-lg" onclick="ga('send', 'event', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}');">Download Bootstrap</a>
2013-02-12 21:16:32 +01:00
</p>
<p class="version">Currently v{{ site.current_version }}</p>
2013-12-12 07:37:59 +01:00
{% include ads.html %}
2013-02-12 21:16:32 +01:00
</div>
</main>
2013-12-12 07:37:59 +01:00
<div class="bd-featurette">
<div class="container">
2015-08-05 09:05:05 +02:00
<h2 class="bd-featurette-title">Easy to get started.</h2>
<p class="lead">Quickly include Bootstrap's CSS and JS into any project. Use your favorite package manager, download the source, or use the Bootstrap CDN.</p>
<div class="row">
2016-10-12 00:46:10 +02:00
<div class="col-sm-6 mb-3">
2015-08-05 09:05:05 +02:00
<h4>Managed dependencies</h4>
<p>Include Bootstrap's source Sass and JavaScript files via Bower, Composer, Meteor, or npm. Package managed installs don't include documentation, but do include our Gruntfile and readme.</p>
<p>
2016-11-30 13:47:57 +01:00
<a class="btn btn-bs" href="{{ site.baseurl }}/getting-started/download/#package-managers">View install methods</a>
2015-08-05 09:05:05 +02:00
</p>
</div>
2016-10-12 00:46:10 +02:00
<div class="col-sm-6 mb-3">
<h4>Bootstrap CDN</h4>
2015-08-05 09:05:05 +02:00
<p>When you just need to include Bootstrap's compiled CSS and JS, use the Bootstrap CDN, free from the Max CDN folks.</p>
2015-04-23 08:09:05 +02:00
{% highlight html %}
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
<script src="{{ site.cdn.tether }}" integrity="{{ site.cdn.tether_hash }}" crossorigin="anonymous"></script>
<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
2015-04-23 08:09:05 +02:00
{% endhighlight %}
</div>
</div>
2015-04-23 08:09:05 +02:00
2016-10-12 00:46:10 +02:00
<hr class="half-rule mt-0">
2015-04-23 08:09:05 +02:00
<p><strong>Looking for something else?</strong> Compiled builds of Bootstrap's CSS and JS are also available.</p>
2016-11-30 13:47:57 +01:00
<a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-bs">More download options</a>
</div>
</div>
<div class="bd-featurette">
2013-12-12 07:37:59 +01:00
<div class="container">
<h2 class="bd-featurette-title">Designed for everyone, everywhere.</h2>
2013-12-25 13:32:00 +01:00
<p class="lead">Bootstrap makes front-end web development faster and easier. It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.</p>
2013-12-12 07:37:59 +01:00
<div class="row">
2016-10-12 00:46:10 +02:00
<div class="col-sm-4 mb-3">
<img src="{{ site.baseurl }}/assets/img/sass.png" alt="Sass support" class="img-fluid">
<h4>Preprocessor</h4>
<p>Bootstrap ships with vanilla CSS, but its source code utilizes <a href="http://sass-lang.com/">Sass</a>, a popular CSS preprocessor. Quickly get started with precompiled CSS or build on the source.</p>
2013-12-12 07:37:59 +01:00
</div>
2016-10-12 00:46:10 +02:00
<div class="col-sm-4 mb-3">
<img src="{{ site.baseurl }}/assets/img/devices.png" alt="Responsive across devices" class="img-fluid">
2015-03-09 15:07:46 +01:00
<h4>One framework, every device.</h4>
2014-06-11 06:47:51 +02:00
<p>Bootstrap easily and efficiently scales your websites and applications with a single code base, from phones to tablets to desktops with CSS media queries.</p>
2013-12-12 07:37:59 +01:00
</div>
2016-10-12 00:46:10 +02:00
<div class="col-sm-4 mb-3">
<img src="{{ site.baseurl }}/assets/img/components.png" alt="Components" class="img-fluid">
2015-03-09 15:07:46 +01:00
<h4>Full of features</h4>
2014-06-11 06:47:51 +02:00
<p>With Bootstrap, you get extensive and beautiful documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome jQuery plugins.</p>
2013-12-12 07:37:59 +01:00
</div>
</div>
2016-10-12 00:46:10 +02:00
<hr class="half-rule mt-0">
2013-12-12 07:37:59 +01:00
<p><strong>Bootstrap is open source!</strong> It's hosted, developed, and maintained on GitHub by folks like you.</p>
2016-11-30 13:47:57 +01:00
<a href="{{ site.repo }}" class="btn btn-bs">View the GitHub project</a>
2013-12-12 07:37:59 +01:00
</div>
</div>
2015-08-23 03:32:18 +02:00
<div class="bd-featurette">
<div class="container">
<h2 class="bd-featurette-title">Official Bootstrap Themes.</h2>
<p class="lead">
Take Bootstrap to the next level with official premium themes. Each theme is its own toolkit featuring all of Bootstrap, brand new components and plugins, full docs, build tools, and more.
2015-08-23 03:32:18 +02:00
</p>
<p class="lead">
2016-11-30 13:47:57 +01:00
<a href="{{ site.themes }}" class="btn btn-bs">Browse themes</a>
2015-08-23 03:32:18 +02:00
</p>
2016-10-12 00:46:10 +02:00
<img class="img-fluid mx-auto" src="{{ site.baseurl }}/assets/img/bs-themes.png" alt="Bootstrap Themes" width="1024" height="388">
2015-08-23 03:32:18 +02:00
</div>
</div>
<div class="bd-featurette">
2013-12-12 07:37:59 +01:00
<div class="container">
<h2 class="bd-featurette-title">Built with Bootstrap.</h2>
<p class="lead">Millions of amazing sites across the web are being built with Bootstrap. Get started on your own with our growing <a href="{{ site.baseurl }}/examples/">collection of examples</a> or by exploring some of our favorites.</p>
2013-12-12 07:37:59 +01:00
<div class="row bd-featured-sites">
2014-01-06 08:36:57 +01:00
{% for showcase in site.data.showcase %}
<div class="col-6 col-sm-3">
2014-01-06 08:36:57 +01:00
<a href="{{ showcase.expo_url }}" target="_blank" title="{{ showcase.name }}">
<img src="{{ site.baseurl }}/assets/img/expo-{{ showcase.img }}.jpg" alt="{{ showcase.name }}" class="img-fluid">
2013-12-12 23:57:43 +01:00
</a>
2013-12-12 07:37:59 +01:00
</div>
2014-01-06 08:36:57 +01:00
{% endfor %}
2013-12-12 07:37:59 +01:00
</div>
<hr class="half-rule">
<p>We showcase dozens of inspiring projects built with Bootstrap on the Bootstrap Expo.</p>
2016-11-30 13:47:57 +01:00
<a href="{{ site.expo }}" class="btn btn-bs">Explore the Expo</a>
2013-12-12 07:37:59 +01:00
</div>
</div>