index.md 6.28 KB
Newer Older
1
---
Mark Otto's avatar
Mark Otto committed
2
layout: simple
3
4
5
title: Examples
---

Mark Otto's avatar
Mark Otto committed
6
7
[Download the Bootstrap source code]({{ site.download.source }}) to snag these examples.

Mark Otto's avatar
Mark Otto committed
8
## Framework
9

10
11
Examples that focus on implementing uses of built-in components provided by Bootstrap.

12
<div class="row bd-examples">
13
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
14
15
    <a href="{{ site.baseurl }}/examples/starter-template/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/starter-template.jpg" alt="">
16
17
18
19
20
    </a>
    <h4>Starter template</h4>
    <p>Nothing but the basics: compiled CSS and JavaScript.</p>
  </div>
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
21
22
    <a href="{{ site.baseurl }}/examples/grid/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/grid.jpg" alt="">
23
24
25
26
    </a>
    <h4>Grids</h4>
    <p>Multiple examples of grid layouts with all four tiers, nesting, and more.</p>
  </div>
Mark Otto's avatar
Mark Otto committed
27
  <div class="clearfix hidden-sm-up"></div>
Mark Otto's avatar
Mark Otto committed
28

29
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
30
31
    <a href="{{ site.baseurl }}/examples/jumbotron/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/jumbotron.jpg" alt="">
32
33
34
35
36
    </a>
    <h4>Jumbotron</h4>
    <p>Build around the jumbotron with a navbar and some basic grid columns.</p>
  </div>
  <div class="col-xs-6 col-md-4">
37
    <a href="{{ site.baseurl }}/examples/narrow-jumbotron/">
Mark Otto's avatar
Mark Otto committed
38
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/jumbotron-narrow.jpg" alt="">
39
40
41
42
43
44
    </a>
    <h4>Narrow jumbotron</h4>
    <p>Build a more custom page by narrowing the default container and jumbotron.</p>
  </div>
</div>

Mark Otto's avatar
Mark Otto committed
45
## Navbars
46

47
48
Taking the default navbar component and showing how it can be moved, placed, and extended.

49
<div class="row bd-examples">
50
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
51
52
    <a href="{{ site.baseurl }}/examples/navbar/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/navbar.jpg" alt="">
53
54
55
56
57
    </a>
    <h4>Navbar</h4>
    <p>Super basic template that includes the navbar along with some additional content.</p>
  </div>
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
58
59
    <a href="{{ site.baseurl }}/examples/navbar-top/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/navbar-static.jpg" alt="">
60
61
62
63
    </a>
    <h4>Static top navbar</h4>
    <p>Super basic template with a static top navbar along with some additional content.</p>
  </div>
Mark Otto's avatar
Mark Otto committed
64
  <div class="clearfix hidden-sm-up"></div>
65
66

  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
67
68
    <a href="{{ site.baseurl }}/examples/navbar-top-fixed/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/navbar-fixed.jpg" alt="">
69
70
71
72
73
74
    </a>
    <h4>Fixed navbar</h4>
    <p>Super basic template with a fixed top navbar along with some additional content.</p>
  </div>
</div>

Mark Otto's avatar
Mark Otto committed
75
## Custom components
76
77
78

Brand new components and templates to help folks quickly get started with Bootstrap and demonstrate best practices for adding onto the framework.

79
<div class="row bd-examples">
Mark Otto's avatar
Mark Otto committed
80
81
82
83
84
85
86
  <div class="col-xs-6 col-md-4">
    <a href="{{ site.baseurl }}/examples/album/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/album.jpg" alt="">
    </a>
    <h4>Album</h4>
    <p>Simple one-page template for photo galleries, portfolios, and more.</p>
  </div>
87
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
88
89
    <a href="{{ site.baseurl }}/examples/cover/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/cover.jpg" alt="">
90
91
92
93
    </a>
    <h4>Cover</h4>
    <p>A one-page template for building simple and beautiful home pages.</p>
  </div>
Mark Otto's avatar
Mark Otto committed
94
95
  <div class="clearfix hidden-sm-up"></div>

96
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
97
98
    <a href="{{ site.baseurl }}/examples/carousel/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/carousel.jpg" alt="">
99
100
101
102
103
    </a>
    <h4>Carousel</h4>
    <p>Customize the navbar and carousel, then add some new components.</p>
  </div>
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
104
105
    <a href="{{ site.baseurl }}/examples/blog/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/blog.jpg" alt="">
106
107
108
109
    </a>
    <h4>Blog</h4>
    <p>Simple two-column blog layout with custom navigation, header, and type.</p>
  </div>
Mark Otto's avatar
Mark Otto committed
110
111
  <div class="clearfix hidden-sm-up"></div>

112
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
113
114
    <a href="{{ site.baseurl }}/examples/dashboard/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/dashboard.jpg" alt="">
115
116
    </a>
    <h4>Dashboard</h4>
Mark Otto's avatar
Mark Otto committed
117
    <p>Basic admin dashboard shell with fixed sidebar and navbar.</p>
118
119
  </div>
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
120
121
    <a href="{{ site.baseurl }}/examples/signin/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/sign-in.jpg" alt="">
122
123
124
125
    </a>
    <h4>Sign-in page</h4>
    <p>Custom form layout and design for a simple sign in form.</p>
  </div>
Mark Otto's avatar
Mark Otto committed
126
127
  <div class="clearfix hidden-sm-up"></div>

128
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
129
130
    <a href="{{ site.baseurl }}/examples/justified-nav/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/justified-nav.jpg" alt="">
131
132
133
134
135
    </a>
    <h4>Justified nav</h4>
    <p>Create a custom navbar with justified links. Heads up! <a href="{{ site.baseurl }}components/#nav-justified">Not too Safari friendly.</a></p>
  </div>
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
136
137
    <a href="{{ site.baseurl }}/examples/sticky-footer/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/sticky-footer.jpg" alt="">
138
139
140
141
    </a>
    <h4>Sticky footer</h4>
    <p>Attach a footer to the bottom of the viewport when the content is shorter than it.</p>
  </div>
Mark Otto's avatar
Mark Otto committed
142
143
  <div class="clearfix hidden-sm-up"></div>

144
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
145
146
    <a href="{{ site.baseurl }}/examples/sticky-footer-navbar/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/sticky-footer-navbar.jpg" alt="">
147
    </a>
Mark Otto's avatar
Mark Otto committed
148
149
    <h4>Sticky footer w/ navbar</h4>
    <p>Attach a footer to the bottom of the viewport with a fixed top navbar.</p>
150
151
152
  </div>
</div>

Mark Otto's avatar
Mark Otto committed
153
## Experiments
154

155
156
Examples that focus on future-friendly features or techniques.

157
<div class="row bd-examples">
158
  <div class="col-xs-6 col-md-4">
Mark Otto's avatar
Mark Otto committed
159
160
    <a href="{{ site.baseurl }}/examples/offcanvas/">
      <img class="img-thumbnail" src="{{ site.baseurl }}/examples/screenshots/offcanvas.jpg" alt="">
161
162
163
164
165
    </a>
    <h4>Offcanvas</h4>
    <p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
  </div>
</div>