index.html 12.8 KB
Newer Older
1
2
3
4
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
5
    <title>Bootstrap, from Twitter</title>
Raul Riera's avatar
Raul Riera committed
6
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
8
    <meta name="description" content="">
    <meta name="author" content="">
9

10
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
11
12
13
14
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

15
    <!-- Le styles -->
16
    <link href="../bootstrap.css" rel="stylesheet">
Jacob Thornton's avatar
Jacob Thornton committed
17
    <link href="assets/css/docs.css" rel="stylesheet">
18
    <link href="assets/js/google-code-prettify/prettify.css" rel="stylesheet">
19

20
    <!-- Le fav and touch icons -->
21
22
23
24
    <link rel="shortcut icon" type="image/x-icon" href="assets/ico/favicon.ico">
    <link rel="apple-touch-icon" href="assets/ico/bootstrap-apple-57x57.png">
    <link rel="apple-touch-icon" sizes="72x72" href="assets/ico/bootstrap-apple-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="assets/ico/bootstrap-apple-114x114.png">
25
26
  </head>

27
  <body>
28

29
    <!-- Navbar
Mark Otto's avatar
Mark Otto committed
30
    ================================================== -->
31
32
    <div class="navbar navbar-fixed" data-scrollspy="scrollspy">
      <div class="navbar-inner">
Jacob Thornton's avatar
Jacob Thornton committed
33
        <div class="container">
34
          <a class="brand" href="./index.html">Bootstrap</a>
35
          <ul class="nav">
36
37
38
39
40
41
            <li class="active"><a href="./index.html">Overview</a></li>
            <li><a href="./scaffolding.html">Scaffolding</a></li>
            <li><a href="./base-css.html">Base CSS</a></li>
            <li><a href="./components.html">Components</a></li>
            <li><a href="./javascript.html">Javascript plugins</a></li>
            <li><a href="./less.html">Using LESS</a></li>
Jacob Thornton's avatar
Jacob Thornton committed
42
43
          </ul>
        </div>
44
45
46
      </div>
    </div>

47
48
49
50
51
52
53
54
55
56
57
58
59
60
    <div class="container">

      <div id="overview">

        <!-- Masthead
        ================================================== -->
        <header class="jumbotron masthead">
          <div class="inner">
            <h1>Bootstrap,<br> from Twitter</h1>
            <p class="lead">Bootstrap is a responsive frontend toolkit from Twitter designed to kickstart web development, complete with core HTML, CSS, and JS for grids, type, forms, navigation, and many more components.</p>
            <p class="download-info">
              <a href="#" class="btn primary btn-large">Download on GitHub</a>
              Currently v2.0.0
            </p>
Mark Otto's avatar
Mark Otto committed
61

62
63
64
65
66
67
68
69
70
71
72
            <div class="benefits">
              <h4>Feature highlights</h4>
              <ul>
                <li><span>&times;</span> Built on LESS</li>
                <li><span>&times;</span> Complete styleguide docs</li>
                <li><span>&times;</span> Fully responsive design</li>
                <li><span>&times;</span> Small footprint (7kb gzipped)</li>
                <li><span>&times;</span> Support for IE7 and up</li>
                <li><span>&times;</span> Custom jQuery plugins</li>
                <li><span>&times;</span> Dozens of components</li>
              </ul>
73
74
            </div>
          </div>
75
76
77
78
79
80
81
82
83
        </header>

        <ul class="quick-links">
          <li><strong>Quick links</strong></li>
          <li><a href="https://github.com/twitter/bootstrap/">GitHub</a></li>
          <li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
          <li><a href="https://github.com/twitter/bootstrap/wiki/Roadmap">Roadmap</a></li>
          <li><a href="https://github.com/twitter/bootstrap/wiki/Changelog">Changelog</a></li>
          <li class="divider">&middot;</li>
Mark Otto's avatar
Mark Otto committed
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
          <li>
            <span class="github-btn github-watchers">
              <a href="https://github.com/twitter/bootstrap" class="btn">
                <img class="github-ico" src="assets/img/github-16px.png">
                Watch
              </a>
              <span class="count"></span>
            </span>
            <span class="github-btn github-forks">
              <a href="https://github.com/twitter/bootstrap" class="btn">
                <img class="github-ico" src="assets/img/github-16px.png">
                Fork
              </a>
              <span class="count"></span>
            </span>
          </li>

<!--
102
103
104
          <li><strong>Authors</strong></li>
          <li><a href="http://twitter.com/mdo">@mdo</a></li>
          <li><a href="http://twitter.com/fat">@fat</a></li>
Mark Otto's avatar
Mark Otto committed
105
106
 -->

107
108
109
          <li class="divider">&middot;</li>
          <li class="follow-btn">
            <a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-width="145px" data-link-color="#0069D6" data-show-count="false">Follow @twbootstrap</a><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
110
          </li>
111
112
          <li class="tweet-btn">
            <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://twitter.github.com/bootstrap/" data-count="horizontal" data-via="twbootstrap" data-related="mdo:Creator of Twitter Bootstrap">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
113
114
          </li>
        </ul>
115

116

117
118
119
        <div class="marketing">
          <div class="row">
            <div class="span4">
120
              <img class="icon" src="assets/img/glyphicons/glyphicons_042_group.png">
121
122
123
124
              <h2>Built for and by nerds</h2>
              <p>Like you, we love building awesome products on the web. We love it so much, we decided to help people just like us do it easier, better, and faster. Bootstrap is built for you.</p>
            </div>
            <div class="span4">
125
              <img class="icon" src="assets/img/glyphicons/glyphicons_079_podium.png">
126
127
128
129
              <h2>For all skill levels</h2>
              <p>Bootstrap is designed to help people of all skill level&mdash;designer or developer, huge nerd or early beginner. Use it as a complete kit or use to start something more complex.</p>
            </div>
            <div class="span4">
130
              <img class="icon" src="assets/img/glyphicons/glyphicons_163_iphone.png">
131
132
133
134
135
136
              <h2>Cross-everything</h2>
              <p>Originally built with only modern browsers in mind, Bootstrap has evolved to include support for all major browsers (even IE7!) and, with Bootstrap 2, tablets and smartphones, too.</p>
            </div>
          </div><!--/row-->
          <div class="row">
            <div class="span4">
137
              <img class="icon" src="assets/img/glyphicons/glyphicons_155_show_thumbnails.png">
138
139
140
141
              <h2>12-column grid</h2>
              <p>Grid systems aren't everything, but having a durable and flexible one at the core of your work can make development much simpler. Use our built-in grid classes or roll your own.</p>
            </div>
            <div class="span4">
142
              <img class="icon" src="assets/img/glyphicons/glyphicons_214_resize_small.png">
143
144
145
146
              <h2>Responsive design</h2>
              <p>With Bootstrap 2, we've gone fully responsive. Our components are flexible enough to scale according to whatever resolution or device you're using to provide a consistent experience, no matter what.</p>
            </div>
            <div class="span4">
147
              <img class="icon" src="assets/img/glyphicons/glyphicons_266_book_open.png">
148
149
150
151
152
153
              <h2>Styleguide docs</h2>
              <p>Unlike other front-end toolkits, Bootstrap was designed first and foremost as a styleguide to document not only our features, but best practices and living, coded examples.</p>
            </div>
          </div><!--/row-->
          <div class="row">
            <div class="span4">
154
              <img class="icon" src="assets/img/glyphicons/glyphicons_082_roundabout.png">
155
156
157
158
              <h2>Growing library</h2>
              <p>Despite being only 7kb (gzipped), Bootstrap is one of the most complete front-end toolkits out there with dozens of fully functional components ready to be put to use.</p>
            </div>
            <div class="span4">
159
              <img class="icon" src="assets/img/glyphicons/glyphicons_009_magic.png">
160
161
162
163
              <h2>Custom jQuery plugins</h2>
              <p>What good is an awesome design component without easy-to-use, proper, and extensible interactions? With Bootstrap, you get custom-built jQuery plugins to bring your projects to life.</p>
            </div>
            <div class="span4">
164
              <img class="icon" src="assets/img/glyphicons/glyphicons_155_show_thumbnails.png">
165
166
167
168
169
170
              <h2>Built on LESS</h2>
              <p>Where vanilla CSS falters, LESS excels. Variables, nesting, operations, and mixins in LESS makes coding CSS faster and more efficient with minimal overhead.</p>
            </div>
          </div><!--/row-->
          <div class="row">
            <div class="span3">
171
              <img class="small-icon" src="assets/img/icon-html5.png">
172
173
174
175
              <h3>HTML5</h3>
              <p>Built to support new HTML5 elements and syntax.</p>
            </div>
            <div class="span3">
176
              <img class="small-icon" src="assets/img/icon-css3.png">
177
178
179
180
              <h3>CSS3</h3>
              <p>Progressively enhanced components for ultimate style.</p>
            </div>
            <div class="span3">
181
              <img class="small-icon" src="assets/img/icon-github.png">
182
183
184
185
              <h3>Open-source</h3>
              <p>Built for and maintained by the community via <a href="https://github.com">GitHub</a>.</p>
            </div>
            <div class="span3">
186
              <img class="small-icon" src="assets/img/icon-twitter.png">
187
188
189
190
191
192
              <h3>Made at Twitter</h3>
              <p>Brought to you by experienced engineers and designers.</p>
            </div>
          </div><!--/row-->
        </div>

193

194

195

196
<!--         <h3>Quick-start examples</h3>
197
198
199
200
201
202
203
204
205
206
207
208
        <p>Need some quick templates? Check out these basic examples we've put together:</p>
        <ul class="media-grid">
          <li>
            <a href="../examples/hero.html"><img src="assets/img/example-diagram-01.png" alt="Simple three-column layout with hero unit"></a>
          </li>
          <li>
            <a href="../examples/fluid.html"><img src="assets/img/example-diagram-02.png" alt="Fluid layout with static sidebar"></a>
          </li>
          <li>
            <a href="../examples/container-app.html"><img src="assets/img/example-diagram-03.png" alt="Simple hanging container for apps"></a>
          </li>
        </ul>
209
 -->
210
      </div><!-- /#overview -->
Mark Otto's avatar
Mark Otto committed
211

212

213
214
      <!-- Footer
      ================================================== -->
215
216
      <footer class="footer">
        <p class="pull-right"><a href="#">Back to top</a></p>
217
218
219
        <p>Designed and built with all the love in the world <a href="http://twitter.com/twitter" target="_blank">@twitter</a> by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
        <p>Code licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
        <p>Icons from <a href="http://glyphicons.com">Glyphicons Free</a>, licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
220
      </footer>
221
222
    </div><!-- /container -->

223
    <!-- Le javascript -->
224
    <!-- Placed at the end of the document so the pages load faster -->
Mark Otto's avatar
Mark Otto committed
225
    <script src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
226
227
228
    <script src="http://autobahn.tablesorter.com/jquery.tablesorter.min.js"></script>
    <script src="assets/js/google-code-prettify/prettify.js"></script>
    <script>$(function () { prettyPrint() })</script>
229
    <script src="../js/bootstrap-transitions.js"></script>
230
231
232
233
    <script src="../js/bootstrap-dropdown.js"></script>
    <script src="../js/bootstrap-twipsy.js"></script>
    <script src="../js/bootstrap-scrollspy.js"></script>
    <script src="assets/js/application.js"></script>
Mark Otto's avatar
Mark Otto committed
234
235
236
237


    <script type="text/javascript">
      $(document).ready(function($){
Mark Otto's avatar
no idea    
Mark Otto committed
238
239
240
241
242
243
244
245
246
247
248
249
250
251

        function addCommas(nStr) {
          nStr += '';
          x = nStr.split('.');
          x1 = x[0];
          x2 = x.length > 1 ? '.' + x[1] : '';
          var rgx = /(\d+)(\d{3})/;
          while (rgx.test(x1)) {
              x1 = x1.replace(rgx, '$1' + ',' + '$2');
          }
          return x1 + x2;
        }

        // GITHUB
Mark Otto's avatar
Mark Otto committed
252
253
254
255
256
257
258
        window.repoCallback = function (obj) {

          // Variables
          var watchers = obj['repository']['watchers'];
          var forks = obj['repository']['forks'];

          // Echo out the counts in correct elements
Mark Otto's avatar
no idea    
Mark Otto committed
259
260
          $('.github-watchers .count').html(addCommas(watchers));
          $('.github-forks .count').html(addCommas(forks));
Mark Otto's avatar
Mark Otto committed
261
262
263
264
265
266
267
268
269
270

          // Debug log
          // console.log("Watchers:" + watchers);
          // console.log("Forks:" + forks);
        }
        $.ajax("http://github.com/api/v2/json/repos/show/twitter/bootstrap?callback=repoCallback", {dataType: "jsonp"});
      });

    </script>

271
  </body>
272
</html>