aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-18 19:02:42 -0700
committerMark Otto <[email protected]>2013-08-18 19:02:42 -0700
commit9dcae610e97c5422652d7212fda5985de1653d4c (patch)
tree03f5f15fb5d3a1561f69ce97a1a9f651e816330c /examples
parent578a14e14aa7c6ad37f307d5d78e9a2afb0e7bfb (diff)
parent5bd2d7ed7e5a2bae56de81bf550f2e4b1451ab25 (diff)
downloadbootstrap-9dcae610e97c5422652d7212fda5985de1653d4c.tar.xz
bootstrap-9dcae610e97c5422652d7212fda5985de1653d4c.zip
Merge branch '3.0.0-wip' into bs3_homepage
Conflicts: customize.html examples/justified-nav/justified-nav.css
Diffstat (limited to 'examples')
-rw-r--r--examples/carousel/index.html8
-rw-r--r--examples/grid/index.html7
-rw-r--r--examples/jumbotron-narrow/index.html7
-rw-r--r--examples/jumbotron/index.html55
-rw-r--r--examples/jumbotron/jumbotron.css15
-rw-r--r--examples/justified-nav/index.html46
-rw-r--r--examples/justified-nav/justified-nav.css9
-rw-r--r--examples/navbar-fixed-top/index.html9
-rw-r--r--examples/navbar-static-top/index.html9
-rw-r--r--examples/navbar/index.html9
-rw-r--r--examples/non-responsive/index.html51
-rw-r--r--examples/non-responsive/non-responsive.css104
-rw-r--r--examples/offcanvas/index.html7
-rw-r--r--examples/screenshots/non-responsive.jpgbin43926 -> 61233 bytes
-rw-r--r--examples/signin/index.html7
-rw-r--r--examples/starter-template/index.html7
-rw-r--r--examples/sticky-footer-navbar/index.html9
-rw-r--r--examples/sticky-footer/index.html7
-rw-r--r--examples/theme/index.html9
19 files changed, 282 insertions, 93 deletions
diff --git a/examples/carousel/index.html b/examples/carousel/index.html
index da7cf41a5..d962c1e6f 100644
--- a/examples/carousel/index.html
+++ b/examples/carousel/index.html
@@ -11,7 +11,12 @@
<!-- Bootstrap core CSS -->
<link href="../../dist/css/bootstrap.css" rel="stylesheet">
- <link href="../../dist/css/bootstrap-glyphicons.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
<!-- Custom styles for this template -->
<link href="carousel.css" rel="stylesheet">
@@ -190,7 +195,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="../../assets/js/holder.js"></script>
</body>
diff --git a/examples/grid/index.html b/examples/grid/index.html
index 3cef51e8d..239b0d16a 100644
--- a/examples/grid/index.html
+++ b/examples/grid/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="grid.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -109,6 +115,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html
index ffcb3986e..2fb23138b 100644
--- a/examples/jumbotron-narrow/index.html
+++ b/examples/jumbotron-narrow/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="jumbotron-narrow.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -68,6 +74,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html
index a309fd5ad..86255fca3 100644
--- a/examples/jumbotron/index.html
+++ b/examples/jumbotron/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="jumbotron.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -53,7 +59,7 @@
<div class="form-group">
<input type="password" placeholder="Password" class="form-control">
</div>
- <button type="submit" class="btn">Sign in</button>
+ <button type="submit" class="btn btn-success">Sign in</button>
</form>
</div><!--/.navbar-collapse -->
</div>
@@ -69,34 +75,30 @@
</div>
<div class="container">
- <div class="body-content">
-
- <!-- Example row of columns -->
- <div class="row">
- <div class="col-lg-4">
- <h2>Heading</h2>
- <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
- <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
- </div>
- <div class="col-lg-4">
- <h2>Heading</h2>
- <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
- <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
- </div>
- <div class="col-lg-4">
- <h2>Heading</h2>
- <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
- <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
- </div>
+ <!-- Example row of columns -->
+ <div class="row">
+ <div class="col-lg-4">
+ <h2>Heading</h2>
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
+ <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
+ </div>
+ <div class="col-lg-4">
+ <h2>Heading</h2>
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
+ <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
+ </div>
+ <div class="col-lg-4">
+ <h2>Heading</h2>
+ <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+ <p><a class="btn btn-default" href="#">View details &raquo;</a></p>
</div>
-
- <hr>
-
- <footer>
- <p>&copy; Company 2013</p>
- </footer>
</div>
+ <hr>
+
+ <footer>
+ <p>&copy; Company 2013</p>
+ </footer>
</div> <!-- /container -->
@@ -104,7 +106,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/jumbotron/jumbotron.css b/examples/jumbotron/jumbotron.css
index f14b34c36..179d40879 100644
--- a/examples/jumbotron/jumbotron.css
+++ b/examples/jumbotron/jumbotron.css
@@ -3,18 +3,3 @@ body {
padding-top: 50px;
padding-bottom: 20px;
}
-
-/* Wrapping element */
-/* Set some basic padding to keep content from hitting the edges */
-.body-content {
- padding-left: 15px;
- padding-right: 15px;
-}
-
-/* Responsive: Portrait tablets and up */
-@media screen and (min-width: 768px) {
- /* Remove padding from wrapping element since we kick in the grid classes here */
- .body-content {
- padding: 0;
- }
-} \ No newline at end of file
diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html
index 46ebb6d69..8ab83cc1f 100644
--- a/examples/justified-nav/index.html
+++ b/examples/justified-nav/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="justified-nav.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -39,29 +45,24 @@
<p><a class="btn btn-lg btn-success" href="#">Get started today</a></p>
</div>
-
- <div class="body-content">
-
- <!-- Example row of columns -->
- <div class="row">
- <div class="col-lg-4">
- <h2>Heading</h2>
- <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
- <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
- </div>
- <div class="col-lg-4">
- <h2>Heading</h2>
- <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
- <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
- </div>
- <div class="col-lg-4">
- <h2>Heading</h2>
- <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
- <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
- </div>
+ <!-- Example row of columns -->
+ <div class="row">
+ <div class="col-lg-4">
+ <h2>Heading</h2>
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
+ <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
</div>
-
- </div><!-- /.body-content -->
+ <div class="col-lg-4">
+ <h2>Heading</h2>
+ <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
+ <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
+ </div>
+ <div class="col-lg-4">
+ <h2>Heading</h2>
+ <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
+ <p><a class="btn btn-primary" href="#">View details &raquo;</a></p>
+ </div>
+ </div>
<!-- Site footer -->
<div class="footer">
@@ -74,6 +75,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/justified-nav/justified-nav.css b/examples/justified-nav/justified-nav.css
index 9b8929c35..7837acf40 100644
--- a/examples/justified-nav/justified-nav.css
+++ b/examples/justified-nav/justified-nav.css
@@ -2,13 +2,6 @@ body {
padding-top: 20px;
}
-/* Everything but the jumbotron gets side spacing for mobile first views */
-.masthead,
-.footer {
- padding-left: 15px;
- padding-right: 15px;
-}
-
.footer {
border-top: 1px solid #eee;
margin-top: 40px;
@@ -83,8 +76,6 @@ body {
}
}
-
-
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html
index d1f1944e1..90f984e96 100644
--- a/examples/navbar-fixed-top/index.html
+++ b/examples/navbar-fixed-top/index.html
@@ -14,12 +14,18 @@
<!-- Custom styles for this template -->
<link href="navbar-fixed-top.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
<!-- Fixed navbar -->
- <div class="navbar navbar-fixed-top">
+ <div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@@ -75,7 +81,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html
index 753e916a4..98ec31d6a 100644
--- a/examples/navbar-static-top/index.html
+++ b/examples/navbar-static-top/index.html
@@ -14,12 +14,18 @@
<!-- Custom styles for this template -->
<link href="navbar-static-top.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
<!-- Static navbar -->
- <div class="navbar navbar-static-top">
+ <div class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@@ -76,7 +82,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/navbar/index.html b/examples/navbar/index.html
index ac779e47a..97e4c0c8c 100644
--- a/examples/navbar/index.html
+++ b/examples/navbar/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="navbar.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -21,7 +27,7 @@
<div class="container">
<!-- Static navbar -->
- <div class="navbar">
+ <div class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
@@ -72,7 +78,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/non-responsive/index.html b/examples/non-responsive/index.html
index 35f16cddf..a5fd883bd 100644
--- a/examples/non-responsive/index.html
+++ b/examples/non-responsive/index.html
@@ -16,9 +16,54 @@
<!-- Custom styles for this template -->
<link href="non-responsive.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
+
+ <!-- Fixed navbar -->
+ <div class="navbar navbar-default navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="#">Project name</a>
+ </div>
+ <div class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li class="active"><a href="#">Home</a></li>
+ <li><a href="#about">About</a></li>
+ <li><a href="#contact">Contact</a></li>
+ <li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
+ <ul class="dropdown-menu">
+ <li><a href="#">Action</a></li>
+ <li><a href="#">Another action</a></li>
+ <li><a href="#">Something else here</a></li>
+ <li class="divider"></li>
+ <li class="dropdown-header">Nav header</li>
+ <li><a href="#">Separated link</a></li>
+ <li><a href="#">One more separated link</a></li>
+ </ul>
+ </li>
+ </ul>
+ <ul class="nav navbar-nav navbar-right">
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ <li><a href="#">Link</a></li>
+ </ul>
+ </div><!--/.nav-collapse -->
+ </div>
+ </div>
+
<div class="container">
<div class="page-header">
@@ -29,6 +74,9 @@
<h3>What changes</h3>
<p>Note the lack of the <code>&lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;</code>, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.</p>
+ <h3>Regarding navbars</h3>
+ <p>As a heads up, the navbar component is rather tricky here in that the styles for displaying it are rather specific and detailed. Overrides to ensure desktop styles display are not as performant or sleek as one would like. Just be aware there may be potential gotchas as you build on top of this example when using the navbar.</p>
+
<h3>Non-responsive grid system</h3>
<div class="row">
<div class="col-xs-4">One third</div>
@@ -42,6 +90,7 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
+ <script src="../../assets/js/jquery.js"></script>
+ <script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/non-responsive/non-responsive.css b/examples/non-responsive/non-responsive.css
index 2864ca1c5..4928128e6 100644
--- a/examples/non-responsive/non-responsive.css
+++ b/examples/non-responsive/non-responsive.css
@@ -1,8 +1,38 @@
+
+/* Template-specific stuff
+ *
+ * Customizations just for the template—these are not necessary for anything
+ * with disabling the responsiveness.
+ */
+
+/* Account for fixed navbar */
+body {
+ padding-top: 70px;
+ padding-bottom: 30px;
+}
+
+/* Finesse the page header spacing */
+.page-header {
+ margin-bottom: 30px;
+}
+.page-header .lead {
+ margin-bottom: 10px;
+}
+
+
+/* Non-responsive overrides
+ *
+ * Utilitze the following CSS to disable the responsive-ness of the container,
+ * grid system, and navbar.
+ */
+
+/* Reset the container */
.container {
max-width: none !important;
width: 970px;
}
+/* Demonstrate the grids */
.col-xs-4 {
padding-top: 15px;
padding-bottom: 15px;
@@ -11,3 +41,77 @@
background-color: rgba(86,61,124,.15);
border: 1px solid rgba(86,61,124,.2);
}
+
+.container .navbar-header,
+.container .navbar-collapse {
+ margin-right: 0;
+ margin-left: 0;
+}
+
+/* Always float the navbar header */
+.navbar-header {
+ float: left;
+}
+
+/* Undo the collapsing navbar */
+.navbar-collapse {
+ display: block !important;
+ height: auto !important;
+ padding-bottom: 0;
+ overflow: visible !important;
+}
+
+.navbar-toggle {
+ display: none;
+}
+
+.navbar-brand {
+ margin-left: -15px;
+}
+
+/* Always apply the floated nav */
+.navbar-nav {
+ float: left;
+ margin: 0;
+}
+.navbar-nav > li {
+ float: left;
+}
+.navbar-nav > li > a {
+ padding: 15px;
+}
+
+/* Redeclare since we override the float above */
+.navbar-nav.navbar-right {
+ float: right;
+}
+
+/* Undo custom dropdowns */
+.navbar .open .dropdown-menu {
+ position: absolute;
+ float: left;
+ background-color: #fff;
+ border: 1px solid #cccccc;
+ border: 1px solid rgba(0, 0, 0, 0.15);
+ border-width: 0 1px 1px;
+ border-radius: 0 0 4px 4px;
+ -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
+}
+.navbar .open .dropdown-menu > li > a {
+ color: #333;
+}
+.navbar .open .dropdown-menu > li > a:hover,
+.navbar .open .dropdown-menu > li > a:focus,
+.navbar .open .dropdown-menu > .active > a,
+.navbar .open .dropdown-menu > .active > a:hover,
+.navbar .open .dropdown-menu > .active > a:focus {
+ color: #fff !important;
+ background-color: #428bca !important;
+}
+.navbar .open .dropdown-menu > .disabled > a,
+.navbar .open .dropdown-menu > .disabled > a:hover,
+.navbar .open .dropdown-menu > .disabled > a:focus {
+ color: #999 !important;
+ background-color: transparent !important;
+}
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html
index e9c905bd2..a53741b99 100644
--- a/examples/offcanvas/index.html
+++ b/examples/offcanvas/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="offcanvas.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -115,7 +121,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="offcanvas.js"></script>
</body>
diff --git a/examples/screenshots/non-responsive.jpg b/examples/screenshots/non-responsive.jpg
index 7642d8a34..0b8953ce1 100644
--- a/examples/screenshots/non-responsive.jpg
+++ b/examples/screenshots/non-responsive.jpg
Binary files differ
diff --git a/examples/signin/index.html b/examples/signin/index.html
index 7c491ae9c..5c0a4543a 100644
--- a/examples/signin/index.html
+++ b/examples/signin/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="signin.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -36,6 +42,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html
index 65693edff..fc22db662 100644
--- a/examples/starter-template/index.html
+++ b/examples/starter-template/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="starter-template.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -52,7 +58,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html
index 0be6de516..551212a80 100644
--- a/examples/sticky-footer-navbar/index.html
+++ b/examples/sticky-footer-navbar/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="sticky-footer-navbar.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -22,7 +28,7 @@
<div id="wrap">
<!-- Fixed navbar -->
- <div class="navbar navbar-fixed-top">
+ <div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@@ -75,7 +81,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
</body>
</html>
diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html
index 20e902ddd..aaafbc20d 100644
--- a/examples/sticky-footer/index.html
+++ b/examples/sticky-footer/index.html
@@ -14,6 +14,12 @@
<!-- Custom styles for this template -->
<link href="sticky-footer.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -41,6 +47,5 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
- <script src="../../assets/js/respond.min.js"></script>
</body>
</html>
diff --git a/examples/theme/index.html b/examples/theme/index.html
index 54b8d0c84..a44a8220a 100644
--- a/examples/theme/index.html
+++ b/examples/theme/index.html
@@ -16,6 +16,12 @@
<!-- Custom styles for this template -->
<link href="theme.css" rel="stylesheet">
+
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+ <!--[if lt IE 9]>
+ <script src="../../assets/js/html5shiv.js"></script>
+ <script src="../../assets/js/respond.min.js"></script>
+ <![endif]-->
</head>
<body>
@@ -134,7 +140,7 @@
<h1>Navbars</h1>
</div>
- <div class="navbar">
+ <div class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
@@ -375,7 +381,6 @@
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../../assets/js/jquery.js"></script>
- <script src="../../assets/js/respond.min.js"></script>
<script src="../../dist/js/bootstrap.min.js"></script>
<script src="../../assets/js/holder.js"></script>
</body>