forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (110 loc) · 5.81 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
layout: home
---
<main class="bd-masthead" id="content" role="main">
<div class="container">
{% include icons/bootstrap.svg class="mb-3" width="128" height="128" %}
<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">
<a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-lg btn-bd-yellow" onclick="ga('send', 'event', 'Jumbotron actions', 'Download', 'Download {{ site.current_version }}');">Download Bootstrap</a>
</p>
<p class="version">Currently v{{ site.current_version }}</p>
{% include ads.html %}
</div>
</main>
<div class="bd-featurette">
<div class="container">
<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 justify-content-center text-center">
<div class="col-sm-6 col-md-5 mb-3 pr-md-4">
<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 build system and readme.</p>
<p>
<a class="btn btn-bd-purple" href="{{ site.baseurl }}/getting-started/download#package-managers">View install methods</a>
</p>
</div>
<div class="col-sm-6 col-md-5 mb-3 pl-md-4">
<h4>Bootstrap CDN</h4>
<p>When you only need to include Bootstrap's compiled CSS and JS, you can use the Bootstrap CDN.</p>
{% 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.popper }}" integrity="{{ site.cdn.popper_hash }}" crossorigin="anonymous"></script>
<script src="{{ site.cdn.js }}" integrity="{{ site.cdn.js_hash }}" crossorigin="anonymous"></script>
{% endhighlight %}
</div>
</div>
<hr class="half-rule mx-auto">
<div class="text-center">
<p>
<strong>Looking for something else?</strong> Compiled builds of Bootstrap's CSS and JS are also available.
</p>
<a href="{{ site.baseurl }}/getting-started/download/" class="btn btn-bd-purple">More download options</a>
</div>
</div>
</div>
<div class="bd-featurette">
<div class="container">
<h2 class="bd-featurette-title">Designed for everyone, everywhere</h2>
<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>
<div class="row text-center">
<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>
</div>
<div class="col-sm-4 mb-3">
<img src="{{ site.baseurl }}/assets/img/devices.png" alt="Responsive across devices" class="img-fluid">
<h4>One framework, every device.</h4>
<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>
</div>
<div class="col-sm-4 mb-3">
<img src="{{ site.baseurl }}/assets/img/components.png" alt="Components" class="img-fluid">
<h4>Full of features</h4>
<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>
</div>
</div>
<hr class="half-rule mx-auto">
<div class="text-center">
<p>
<strong>Bootstrap is open source!</strong> It's hosted, developed, and maintained on GitHub by folks like you.
</p>
<a href="{{ site.repo }}" class="btn btn-bd-purple">View the GitHub project</a>
</div>
</div>
</div>
<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.
</p>
<p class="lead">
<a href="{{ site.themes }}" class="btn btn-lg btn-bd-purple">Browse themes</a>
</p>
<img class="img-fluid mx-auto" src="{{ site.baseurl }}/assets/img/bs-themes.png" alt="Bootstrap Themes" width="1024" height="388">
</div>
</div>
<div class="bd-featurette">
<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>
<div class="row bd-featured-sites">
{% for showcase in site.data.showcase %}
<div class="col-6 col-sm-3">
<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">
</a>
</div>
{% endfor %}
</div>
<hr class="half-rule mx-auto">
<div class="text-center">
<p>
We showcase dozens of inspiring projects built with Bootstrap on the Bootstrap Expo.
</p>
<a href="{{ site.expo }}" class="btn btn-bd-purple">Explore the Expo</a>
</div>
</div>
</div>