index.html 4.86 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1
---
2
layout: home
Mark Otto's avatar
Mark Otto committed
3
title: Bootstrap · The world's most popular mobile-first and responsive front-end framework.
Mark Otto's avatar
Mark Otto committed
4
5
---

6
<main class="bd-masthead" id="content" role="main">
7
  <div class="container">
Mark Otto's avatar
Mark Otto committed
8
9
    {% include nav-home.html %}

10
    <span class="bd-booticon outline">B</span>
Mark Otto's avatar
Mark Otto committed
11
    <p class="lead">Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.</p>
12
    <p class="lead">
13
      <a href="getting-started#download" class="btn btn-outline-inverse btn-lg" onclick="ga('send', 'event', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}');">Download Bootstrap</a>
Mark Otto's avatar
Mark Otto committed
14
    </p>
15
    <p class="version">Currently v{{ site.current_version }}</p>
Mark Otto's avatar
Mark Otto committed
16
    {% include ads.html %}
Mark Otto's avatar
Mark Otto committed
17
  </div>
18
</main>
Mark Otto's avatar
Mark Otto committed
19

20
<div class="bd-featurette">
21
22
23
24
25
26
27
28
29
  <div class="container">
    <h2 class="bs-docs-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 <a href="#">Bootstrap CDN</a>.</p>

    <hr class="half-rule">

    <div class="row">
      <div class="col-sm-4">
        <h4>Package managers</h4>
30
31
32
33
34
35
36
        <p>Bootstrap is available via Bower, Composer, Meteor, and npm.</p>
{% highlight bash %}
$ npm install bootstrap
$ bower install bootstrap
$ meteor add twbs:bootstrap
$ composer require twbs/bootstrap
{% endhighlight %}
37
38
39
      </div>
      <div class="col-sm-4">
        <h4>Download from GitHub</h4>
40
        <p>You can also <a href="{{ site.repo }}">download the source files</a> from GitHub where our code, issue tracker, and more are hosted.</p>
41
42
43
      </div>
      <div class="col-sm-4">
        <h4>Bootstrap CDN</h4>
44
45
46
47
48
        <p>Quickly include Bootstrap into a project with the Bootstrap CDN, a free service provided by the MaxCDN folks. Just copy and paste the CSS and JS as needed.</p>
{% highlight html %}
<link rel="stylesheet" href="{{ site.cdn.css }}">
<script src="{{ site.cdn.js }}"></script>
{% endhighlight %}
49
50
      </div>
    </div>
51
52
53
54
55

    <hr class="half-rule">

    <p class="lead">More customized builds of Bootstrap's CSS and JS are also available.</p>
    <a href="{{ site.baseurl }}/getting-started/download" class="btn btn-outline btn-lg">More download options</a>
56
57
58
  </div>
</div>

59
<div class="bd-featurette">
Mark Otto's avatar
Mark Otto committed
60
  <div class="container">
61
    <h2 class="bd-featurette-title">Designed for everyone, everywhere.</h2>
Mark Otto's avatar
Mark Otto committed
62
    <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>
Mark Otto's avatar
Mark Otto committed
63
64
65
66
67

    <hr class="half-rule">

    <div class="row">
      <div class="col-sm-4">
68
        <img src="assets/img/sass-less.png" alt="Sass support" class="img-responsive">
Mark Otto's avatar
Mark Otto committed
69
        <h4>Preprocessors</h4>
70
        <p>Bootstrap ships with vanilla CSS, but its source code utilizes <a href="../css/#sass">Sass</a>, a popular CSS preprocessor. Quickly get started with precompiled CSS or build on the source.</p>
Mark Otto's avatar
Mark Otto committed
71
72
      </div>
      <div class="col-sm-4">
Mark Otto's avatar
Mark Otto committed
73
        <img src="assets/img/devices.png" alt="Responsive across devices" class="img-responsive">
Mark Otto's avatar
Mark Otto committed
74
        <h4>One framework, every device.</h4>
Mark Otto's avatar
Mark Otto committed
75
        <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>
Mark Otto's avatar
Mark Otto committed
76
77
      </div>
      <div class="col-sm-4">
Mark Otto's avatar
Mark Otto committed
78
        <img src="assets/img/components.png" alt="Components" class="img-responsive">
Mark Otto's avatar
Mark Otto committed
79
        <h4>Full of features</h4>
Mark Otto's avatar
Mark Otto committed
80
        <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>
Mark Otto's avatar
Mark Otto committed
81
82
83
84
85
      </div>
    </div>

    <hr class="half-rule">

Mark Otto's avatar
Mark Otto committed
86
    <p class="lead">Bootstrap is open source. It's hosted, developed, and maintained on GitHub.</p>
Mark Otto's avatar
Mark Otto committed
87
88
89
90
    <a href="{{ site.repo }}" class="btn btn-outline btn-lg">View the GitHub project</a>
  </div>
</div>

91
<div class="bd-featurette">
Mark Otto's avatar
Mark Otto committed
92
  <div class="container">
93
    <h2 class="bd-featurette-title">Built with Bootstrap.</h2>
94
    <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="../getting-started/#examples">collection of examples</a> or by exploring some of our favorites.</p>
Mark Otto's avatar
Mark Otto committed
95
96
97

    <hr class="half-rule">

98
    <div class="row bd-featured-sites">
99
    {% for showcase in site.data.showcase %}
100
      <div class="col-xs-6 col-sm-3">
101
        <a href="{{ showcase.expo_url }}" target="_blank" title="{{ showcase.name }}">
102
          <img src="http://expo.getbootstrap.com/thumbs/{{ showcase.img }}-thumb.jpg" alt="{{ showcase.name }}" class="img-responsive">
Mark Otto's avatar
Mark Otto committed
103
        </a>
Mark Otto's avatar
Mark Otto committed
104
      </div>
105
    {% endfor %}
Mark Otto's avatar
Mark Otto committed
106
107
108
109
    </div>

    <hr class="half-rule">

Mark Otto's avatar
Mark Otto committed
110
111
    <p class="lead">We showcase dozens of inspiring projects built with Bootstrap on the Bootstrap Expo.</p>
    <a href="{{ site.expo }}" class="btn btn-outline btn-lg">Explore the Expo</a>
Mark Otto's avatar
Mark Otto committed
112
113
  </div>
</div>