Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/4.1/examples')
-rw-r--r--docs/4.1/examples/.eslintrc.json11
-rw-r--r--docs/4.1/examples/.stylelintrc12
-rw-r--r--docs/4.1/examples/album/album.css39
-rw-r--r--docs/4.1/examples/album/index.html232
-rw-r--r--docs/4.1/examples/blog/blog.css130
-rw-r--r--docs/4.1/examples/blog/index.html231
-rw-r--r--docs/4.1/examples/carousel/carousel.css91
-rw-r--r--docs/4.1/examples/carousel/index.html188
-rw-r--r--docs/4.1/examples/checkout/form-validation.css11
-rw-r--r--docs/4.1/examples/checkout/index.html268
-rw-r--r--docs/4.1/examples/cover/cover.css106
-rw-r--r--docs/4.1/examples/cover/index.html57
-rw-r--r--docs/4.1/examples/dashboard/dashboard.css107
-rw-r--r--docs/4.1/examples/dashboard/index.html303
-rw-r--r--docs/4.1/examples/floating-labels/floating-labels.css82
-rw-r--r--docs/4.1/examples/floating-labels/index.html46
-rw-r--r--docs/4.1/examples/grid/grid.css27
-rw-r--r--docs/4.1/examples/grid/index.html135
-rw-r--r--docs/4.1/examples/index.html22
-rw-r--r--docs/4.1/examples/jumbotron/index.html103
-rw-r--r--docs/4.1/examples/jumbotron/jumbotron.css4
-rw-r--r--docs/4.1/examples/navbar-bottom/index.html60
-rw-r--r--docs/4.1/examples/navbar-fixed/index.html61
-rw-r--r--docs/4.1/examples/navbar-fixed/navbar-top-fixed.css5
-rw-r--r--docs/4.1/examples/navbar-static/index.html61
-rw-r--r--docs/4.1/examples/navbar-static/navbar-top.css4
-rw-r--r--docs/4.1/examples/navbars/index.html347
-rw-r--r--docs/4.1/examples/navbars/navbar.css7
-rw-r--r--docs/4.1/examples/offcanvas/index.html159
-rw-r--r--docs/4.1/examples/offcanvas/offcanvas.css79
-rw-r--r--docs/4.1/examples/offcanvas/offcanvas.js7
-rw-r--r--docs/4.1/examples/pricing/index.html142
-rw-r--r--docs/4.1/examples/pricing/pricing.css25
-rw-r--r--docs/4.1/examples/product/index.html178
-rw-r--r--docs/4.1/examples/product/product.css79
-rw-r--r--docs/4.1/examples/screenshots/album.pngbin0 -> 26370 bytes
-rw-r--r--docs/4.1/examples/screenshots/blog.pngbin0 -> 36944 bytes
-rw-r--r--docs/4.1/examples/screenshots/carousel.pngbin0 -> 31465 bytes
-rw-r--r--docs/4.1/examples/screenshots/checkout.pngbin0 -> 28180 bytes
-rw-r--r--docs/4.1/examples/screenshots/cover.pngbin0 -> 17953 bytes
-rw-r--r--docs/4.1/examples/screenshots/dashboard.pngbin0 -> 26556 bytes
-rw-r--r--docs/4.1/examples/screenshots/floating-labels.pngbin0 -> 11053 bytes
-rw-r--r--docs/4.1/examples/screenshots/grid.pngbin0 -> 33860 bytes
-rw-r--r--docs/4.1/examples/screenshots/jumbotron.pngbin0 -> 38408 bytes
-rw-r--r--docs/4.1/examples/screenshots/navbar-bottom.pngbin0 -> 11316 bytes
-rw-r--r--docs/4.1/examples/screenshots/navbar-fixed.pngbin0 -> 13616 bytes
-rw-r--r--docs/4.1/examples/screenshots/navbar-static.pngbin0 -> 14893 bytes
-rw-r--r--docs/4.1/examples/screenshots/navbars.pngbin0 -> 27187 bytes
-rw-r--r--docs/4.1/examples/screenshots/offcanvas.pngbin0 -> 23975 bytes
-rw-r--r--docs/4.1/examples/screenshots/pricing.pngbin0 -> 29128 bytes
-rw-r--r--docs/4.1/examples/screenshots/product.pngbin0 -> 27953 bytes
-rw-r--r--docs/4.1/examples/screenshots/sign-in.pngbin0 -> 5680 bytes
-rw-r--r--docs/4.1/examples/screenshots/starter-template.pngbin0 -> 11334 bytes
-rw-r--r--docs/4.1/examples/screenshots/sticky-footer-navbar.pngbin0 -> 15836 bytes
-rw-r--r--docs/4.1/examples/screenshots/sticky-footer.pngbin0 -> 9665 bytes
-rw-r--r--docs/4.1/examples/sign-in/index.html36
-rw-r--r--docs/4.1/examples/sign-in/signin.css44
-rw-r--r--docs/4.1/examples/starter-template/index.html71
-rw-r--r--docs/4.1/examples/starter-template/starter-template.css7
-rw-r--r--docs/4.1/examples/sticky-footer-navbar/index.html69
-rw-r--r--docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css37
-rw-r--r--docs/4.1/examples/sticky-footer/index.html34
-rw-r--r--docs/4.1/examples/sticky-footer/sticky-footer.css28
-rw-r--r--docs/4.1/examples/tooltip-viewport/index.html45
-rw-r--r--docs/4.1/examples/tooltip-viewport/tooltip-viewport.css26
-rw-r--r--docs/4.1/examples/tooltip-viewport/tooltip-viewport.js32
66 files changed, 3848 insertions, 0 deletions
diff --git a/docs/4.1/examples/.eslintrc.json b/docs/4.1/examples/.eslintrc.json
new file mode 100644
index 0000000000..f04fd6ae13
--- /dev/null
+++ b/docs/4.1/examples/.eslintrc.json
@@ -0,0 +1,11 @@
+{
+ "env": {
+ "es6": false,
+ "jquery": true
+ },
+ "parserOptions": {
+ "ecmaVersion": 5,
+ "sourceType": "script"
+ },
+ "extends": "../../../js/tests/unit/.eslintrc.json"
+}
diff --git a/docs/4.1/examples/.stylelintrc b/docs/4.1/examples/.stylelintrc
new file mode 100644
index 0000000000..6a77dcedb6
--- /dev/null
+++ b/docs/4.1/examples/.stylelintrc
@@ -0,0 +1,12 @@
+{
+ "extends": "../../../.stylelintrc",
+ "rules": {
+ "at-rule-no-vendor-prefix": null,
+ "comment-empty-line-before": null,
+ "media-feature-name-no-vendor-prefix": null,
+ "property-no-vendor-prefix": null,
+ "selector-no-qualifying-type": null,
+ "selector-no-vendor-prefix": null,
+ "value-no-vendor-prefix": null
+ }
+}
diff --git a/docs/4.1/examples/album/album.css b/docs/4.1/examples/album/album.css
new file mode 100644
index 0000000000..7eabbf9b2f
--- /dev/null
+++ b/docs/4.1/examples/album/album.css
@@ -0,0 +1,39 @@
+:root {
+ --jumbotron-padding-y: 3rem;
+}
+
+.jumbotron {
+ padding-top: var(--jumbotron-padding-y);
+ padding-bottom: var(--jumbotron-padding-y);
+ margin-bottom: 0;
+ background-color: #fff;
+}
+@media (min-width: 768px) {
+ .jumbotron {
+ padding-top: calc(var(--jumbotron-padding-y) * 2);
+ padding-bottom: calc(var(--jumbotron-padding-y) * 2);
+ }
+}
+
+.jumbotron p:last-child {
+ margin-bottom: 0;
+}
+
+.jumbotron-heading {
+ font-weight: 300;
+}
+
+.jumbotron .container {
+ max-width: 40rem;
+}
+
+footer {
+ padding-top: 3rem;
+ padding-bottom: 3rem;
+}
+
+footer p {
+ margin-bottom: .25rem;
+}
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
diff --git a/docs/4.1/examples/album/index.html b/docs/4.1/examples/album/index.html
new file mode 100644
index 0000000000..ac765aaa4d
--- /dev/null
+++ b/docs/4.1/examples/album/index.html
@@ -0,0 +1,232 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Album example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="album.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <header>
+ <div class="collapse bg-dark" id="navbarHeader">
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-8 col-md-7 py-4">
+ <h4 class="text-white">About</h4>
+ <p class="text-muted">Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.</p>
+ </div>
+ <div class="col-sm-4 offset-md-1 py-4">
+ <h4 class="text-white">Contact</h4>
+ <ul class="list-unstyled">
+ <li><a href="#" class="text-white">Follow on Twitter</a></li>
+ <li><a href="#" class="text-white">Like on Facebook</a></li>
+ <li><a href="#" class="text-white">Email me</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="navbar navbar-dark bg-dark box-shadow">
+ <div class="container d-flex justify-content-between">
+ <a href="#" class="navbar-brand d-flex align-items-center">
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mr-2"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>
+ <strong>Album</strong>
+ </a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ </div>
+ </div>
+ </header>
+
+ <main role="main">
+
+ <section class="jumbotron text-center">
+ <div class="container">
+ <h1 class="jumbotron-heading">Album example</h1>
+ <p class="lead text-muted">Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don't simply skip over it entirely.</p>
+ <p>
+ <a href="#" class="btn btn-primary my-2">Main call to action</a>
+ <a href="#" class="btn btn-secondary my-2">Secondary action</a>
+ </p>
+ </div>
+ </section>
+
+ <div class="album py-5 bg-light">
+ <div class="container">
+
+ <div class="row">
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="col-md-4">
+ <div class="card mb-4 box-shadow">
+ <img class="card-img-top" data-src="holder.js/100px225?theme=thumb&bg=55595c&fg=eceeef&text=Thumbnail" alt="Card image cap">
+ <div class="card-body">
+ <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
+ <div class="d-flex justify-content-between align-items-center">
+ <div class="btn-group">
+ <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
+ <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
+ </div>
+ <small class="text-muted">9 mins</small>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ </main>
+
+ <footer class="text-muted">
+ <div class="container">
+ <p class="float-right">
+ <a href="#">Back to top</a>
+ </p>
+ <p>Album example is &copy; Bootstrap, but please download and customize it for yourself!</p>
+ <p>New to Bootstrap? <a href="../../">Visit the homepage</a> or read our <a href="../../getting-started/">getting started guide</a>.</p>
+ </div>
+ </footer>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/blog/blog.css b/docs/4.1/examples/blog/blog.css
new file mode 100644
index 0000000000..399b7e8730
--- /dev/null
+++ b/docs/4.1/examples/blog/blog.css
@@ -0,0 +1,130 @@
+/* stylelint-disable selector-list-comma-newline-after */
+
+.blog-header {
+ line-height: 1;
+ border-bottom: 1px solid #e5e5e5;
+}
+
+.blog-header-logo {
+ font-family: "Playfair Display", Georgia, "Times New Roman", serif;
+ font-size: 2.25rem;
+}
+
+.blog-header-logo:hover {
+ text-decoration: none;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: "Playfair Display", Georgia, "Times New Roman", serif;
+}
+
+.display-4 {
+ font-size: 2.5rem;
+}
+@media (min-width: 768px) {
+ .display-4 {
+ font-size: 3rem;
+ }
+}
+
+.nav-scroller {
+ position: relative;
+ z-index: 2;
+ height: 2.75rem;
+ overflow-y: hidden;
+}
+
+.nav-scroller .nav {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: nowrap;
+ flex-wrap: nowrap;
+ padding-bottom: 1rem;
+ margin-top: -1px;
+ overflow-x: auto;
+ text-align: center;
+ white-space: nowrap;
+ -webkit-overflow-scrolling: touch;
+}
+
+.nav-scroller .nav-link {
+ padding-top: .75rem;
+ padding-bottom: .75rem;
+ font-size: .875rem;
+}
+
+.card-img-right {
+ height: 100%;
+ border-radius: 0 3px 3px 0;
+}
+
+.flex-auto {
+ -ms-flex: 0 0 auto;
+ flex: 0 0 auto;
+}
+
+.h-250 { height: 250px; }
+@media (min-width: 768px) {
+ .h-md-250 { height: 250px; }
+}
+
+.border-top { border-top: 1px solid #e5e5e5; }
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
+
+/*
+ * Blog name and description
+ */
+.blog-title {
+ margin-bottom: 0;
+ font-size: 2rem;
+ font-weight: 400;
+}
+.blog-description {
+ font-size: 1.1rem;
+ color: #999;
+}
+
+@media (min-width: 40em) {
+ .blog-title {
+ font-size: 3.5rem;
+ }
+}
+
+/* Pagination */
+.blog-pagination {
+ margin-bottom: 4rem;
+}
+.blog-pagination > .btn {
+ border-radius: 2rem;
+}
+
+/*
+ * Blog posts
+ */
+.blog-post {
+ margin-bottom: 4rem;
+}
+.blog-post-title {
+ margin-bottom: .25rem;
+ font-size: 2.5rem;
+}
+.blog-post-meta {
+ margin-bottom: 1.25rem;
+ color: #999;
+}
+
+/*
+ * Footer
+ */
+.blog-footer {
+ padding: 2.5rem 0;
+ color: #999;
+ text-align: center;
+ background-color: #f9f9f9;
+ border-top: .05rem solid #e5e5e5;
+}
+.blog-footer p:last-child {
+ margin-bottom: 0;
+}
diff --git a/docs/4.1/examples/blog/index.html b/docs/4.1/examples/blog/index.html
new file mode 100644
index 0000000000..2fad7bb517
--- /dev/null
+++ b/docs/4.1/examples/blog/index.html
@@ -0,0 +1,231 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Blog Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="https://fonts.googleapis.com/css?family=Playfair+Display:700,900" rel="stylesheet">
+ <link href="blog.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <div class="container">
+ <header class="blog-header py-3">
+ <div class="row flex-nowrap justify-content-between align-items-center">
+ <div class="col-4 pt-1">
+ <a class="text-muted" href="#">Subscribe</a>
+ </div>
+ <div class="col-4 text-center">
+ <a class="blog-header-logo text-dark" href="#">Large</a>
+ </div>
+ <div class="col-4 d-flex justify-content-end align-items-center">
+ <a class="text-muted" href="#">
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="mx-3"><circle cx="10.5" cy="10.5" r="7.5"></circle><line x1="21" y1="21" x2="15.8" y2="15.8"></line></svg>
+ </a>
+ <a class="btn btn-sm btn-outline-secondary" href="#">Sign up</a>
+ </div>
+ </div>
+ </header>
+
+ <div class="nav-scroller py-1 mb-2">
+ <nav class="nav d-flex justify-content-between">
+ <a class="p-2 text-muted" href="#">World</a>
+ <a class="p-2 text-muted" href="#">U.S.</a>
+ <a class="p-2 text-muted" href="#">Technology</a>
+ <a class="p-2 text-muted" href="#">Design</a>
+ <a class="p-2 text-muted" href="#">Culture</a>
+ <a class="p-2 text-muted" href="#">Business</a>
+ <a class="p-2 text-muted" href="#">Politics</a>
+ <a class="p-2 text-muted" href="#">Opinion</a>
+ <a class="p-2 text-muted" href="#">Science</a>
+ <a class="p-2 text-muted" href="#">Health</a>
+ <a class="p-2 text-muted" href="#">Style</a>
+ <a class="p-2 text-muted" href="#">Travel</a>
+ </nav>
+ </div>
+
+ <div class="jumbotron p-3 p-md-5 text-white rounded bg-dark">
+ <div class="col-md-6 px-0">
+ <h1 class="display-4 font-italic">Title of a longer featured blog post</h1>
+ <p class="lead my-3">Multiple lines of text that form the lede, informing new readers quickly and efficiently about what's most interesting in this post's contents.</p>
+ <p class="lead mb-0"><a href="#" class="text-white font-weight-bold">Continue reading...</a></p>
+ </div>
+ </div>
+
+ <div class="row mb-2">
+ <div class="col-md-6">
+ <div class="card flex-md-row mb-4 box-shadow h-md-250">
+ <div class="card-body d-flex flex-column align-items-start">
+ <strong class="d-inline-block mb-2 text-primary">World</strong>
+ <h3 class="mb-0">
+ <a class="text-dark" href="#">Featured post</a>
+ </h3>
+ <div class="mb-1 text-muted">Nov 12</div>
+ <p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
+ <a href="#">Continue reading</a>
+ </div>
+ <img class="card-img-right flex-auto d-none d-lg-block" data-src="holder.js/200x250?theme=thumb" alt="Card image cap">
+ </div>
+ </div>
+ <div class="col-md-6">
+ <div class="card flex-md-row mb-4 box-shadow h-md-250">
+ <div class="card-body d-flex flex-column align-items-start">
+ <strong class="d-inline-block mb-2 text-success">Design</strong>
+ <h3 class="mb-0">
+ <a class="text-dark" href="#">Post title</a>
+ </h3>
+ <div class="mb-1 text-muted">Nov 11</div>
+ <p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
+ <a href="#">Continue reading</a>
+ </div>
+ <img class="card-img-right flex-auto d-none d-lg-block" data-src="holder.js/200x250?theme=thumb" alt="Card image cap">
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <main role="main" class="container">
+ <div class="row">
+ <div class="col-md-8 blog-main">
+ <h3 class="pb-3 mb-4 font-italic border-bottom">
+ From the Firehose
+ </h3>
+
+ <div class="blog-post">
+ <h2 class="blog-post-title">Sample blog post</h2>
+ <p class="blog-post-meta">January 1, 2014 by <a href="#">Mark</a></p>
+
+ <p>This blog post shows a few different types of content that's supported and styled with Bootstrap. Basic typography, images, and code are all supported.</p>
+ <hr>
+ <p>Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.</p>
+ <blockquote>
+ <p>Curabitur blandit tempus porttitor. <strong>Nullam quis risus eget urna mollis</strong> ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </blockquote>
+ <p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
+ <h2>Heading</h2>
+ <p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
+ <h3>Sub-heading</h3>
+ <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>
+ <pre><code>Example code block</code></pre>
+ <p>Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.</p>
+ <h3>Sub-heading</h3>
+ <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+ <ul>
+ <li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
+ <li>Donec id elit non mi porta gravida at eget metus.</li>
+ <li>Nulla vitae elit libero, a pharetra augue.</li>
+ </ul>
+ <p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
+ <ol>
+ <li>Vestibulum id ligula porta felis euismod semper.</li>
+ <li>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</li>
+ <li>Maecenas sed diam eget risus varius blandit sit amet non magna.</li>
+ </ol>
+ <p>Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.</p>
+ </div><!-- /.blog-post -->
+
+ <div class="blog-post">
+ <h2 class="blog-post-title">Another blog post</h2>
+ <p class="blog-post-meta">December 23, 2013 by <a href="#">Jacob</a></p>
+
+ <p>Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.</p>
+ <blockquote>
+ <p>Curabitur blandit tempus porttitor. <strong>Nullam quis risus eget urna mollis</strong> ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ </blockquote>
+ <p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
+ <p>Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
+ </div><!-- /.blog-post -->
+
+ <div class="blog-post">
+ <h2 class="blog-post-title">New feature</h2>
+ <p class="blog-post-meta">December 14, 2013 by <a href="#">Chris</a></p>
+
+ <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
+ <ul>
+ <li>Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</li>
+ <li>Donec id elit non mi porta gravida at eget metus.</li>
+ <li>Nulla vitae elit libero, a pharetra augue.</li>
+ </ul>
+ <p>Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
+ <p>Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.</p>
+ </div><!-- /.blog-post -->
+
+ <nav class="blog-pagination">
+ <a class="btn btn-outline-primary" href="#">Older</a>
+ <a class="btn btn-outline-secondary disabled" href="#">Newer</a>
+ </nav>
+
+ </div><!-- /.blog-main -->
+
+ <aside class="col-md-4 blog-sidebar">
+ <div class="p-3 mb-3 bg-light rounded">
+ <h4 class="font-italic">About</h4>
+ <p class="mb-0">Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
+ </div>
+
+ <div class="p-3">
+ <h4 class="font-italic">Archives</h4>
+ <ol class="list-unstyled mb-0">
+ <li><a href="#">March 2014</a></li>
+ <li><a href="#">February 2014</a></li>
+ <li><a href="#">January 2014</a></li>
+ <li><a href="#">December 2013</a></li>
+ <li><a href="#">November 2013</a></li>
+ <li><a href="#">October 2013</a></li>
+ <li><a href="#">September 2013</a></li>
+ <li><a href="#">August 2013</a></li>
+ <li><a href="#">July 2013</a></li>
+ <li><a href="#">June 2013</a></li>
+ <li><a href="#">May 2013</a></li>
+ <li><a href="#">April 2013</a></li>
+ </ol>
+ </div>
+
+ <div class="p-3">
+ <h4 class="font-italic">Elsewhere</h4>
+ <ol class="list-unstyled">
+ <li><a href="#">GitHub</a></li>
+ <li><a href="#">Twitter</a></li>
+ <li><a href="#">Facebook</a></li>
+ </ol>
+ </div>
+ </aside><!-- /.blog-sidebar -->
+
+ </div><!-- /.row -->
+
+ </main><!-- /.container -->
+
+ <footer class="blog-footer">
+ <p>Blog template built for <a href="https://getbootstrap.com/">Bootstrap</a> by <a href="https://twitter.com/mdo">@mdo</a>.</p>
+ <p>
+ <a href="#">Back to top</a>
+ </p>
+ </footer>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ <script>
+ Holder.addTheme('thumb', {
+ bg: '#55595c',
+ fg: '#eceeef',
+ text: 'Thumbnail'
+ });
+ </script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/carousel/carousel.css b/docs/4.1/examples/carousel/carousel.css
new file mode 100644
index 0000000000..f9b5a7e492
--- /dev/null
+++ b/docs/4.1/examples/carousel/carousel.css
@@ -0,0 +1,91 @@
+/* GLOBAL STYLES
+-------------------------------------------------- */
+/* Padding below the footer and lighter body text */
+
+body {
+ padding-top: 3rem;
+ padding-bottom: 3rem;
+ color: #5a5a5a;
+}
+
+
+/* CUSTOMIZE THE CAROUSEL
+-------------------------------------------------- */
+
+/* Carousel base class */
+.carousel {
+ margin-bottom: 4rem;
+}
+/* Since positioning the image, we need to help out the caption */
+.carousel-caption {
+ bottom: 3rem;
+ z-index: 10;
+}
+
+/* Declare heights because of positioning of img element */
+.carousel-item {
+ height: 32rem;
+ background-color: #777;
+}
+.carousel-item > img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ min-width: 100%;
+ height: 32rem;
+}
+
+
+/* MARKETING CONTENT
+-------------------------------------------------- */
+
+/* Center align the text within the three columns below the carousel */
+.marketing .col-lg-4 {
+ margin-bottom: 1.5rem;
+ text-align: center;
+}
+.marketing h2 {
+ font-weight: 400;
+}
+.marketing .col-lg-4 p {
+ margin-right: .75rem;
+ margin-left: .75rem;
+}
+
+
+/* Featurettes
+------------------------- */
+
+.featurette-divider {
+ margin: 5rem 0; /* Space out the Bootstrap <hr> more */
+}
+
+/* Thin out the marketing headings */
+.featurette-heading {
+ font-weight: 300;
+ line-height: 1;
+ letter-spacing: -.05rem;
+}
+
+
+/* RESPONSIVE CSS
+-------------------------------------------------- */
+
+@media (min-width: 40em) {
+ /* Bump up size of carousel content */
+ .carousel-caption p {
+ margin-bottom: 1.25rem;
+ font-size: 1.25rem;
+ line-height: 1.4;
+ }
+
+ .featurette-heading {
+ font-size: 50px;
+ }
+}
+
+@media (min-width: 62em) {
+ .featurette-heading {
+ margin-top: 7rem;
+ }
+}
diff --git a/docs/4.1/examples/carousel/index.html b/docs/4.1/examples/carousel/index.html
new file mode 100644
index 0000000000..5f0a2891f9
--- /dev/null
+++ b/docs/4.1/examples/carousel/index.html
@@ -0,0 +1,188 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Carousel Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="carousel.css" rel="stylesheet">
+ </head>
+ <body>
+
+ <header>
+ <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
+ <a class="navbar-brand" href="#">Carousel</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ </ul>
+ <form class="form-inline mt-2 mt-md-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+ </header>
+
+ <main role="main">
+
+ <div id="myCarousel" class="carousel slide" data-ride="carousel">
+ <ol class="carousel-indicators">
+ <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
+ <li data-target="#myCarousel" data-slide-to="1"></li>
+ <li data-target="#myCarousel" data-slide-to="2"></li>
+ </ol>
+ <div class="carousel-inner">
+ <div class="carousel-item active">
+ <img class="first-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="First slide">
+ <div class="container">
+ <div class="carousel-caption text-left">
+ <h1>Example headline.</h1>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a class="btn btn-lg btn-primary" href="#" role="button">Sign up today</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="carousel-item">
+ <img class="second-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Second slide">
+ <div class="container">
+ <div class="carousel-caption">
+ <h1>Another example headline.</h1>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a class="btn btn-lg btn-primary" href="#" role="button">Learn more</a></p>
+ </div>
+ </div>
+ </div>
+ <div class="carousel-item">
+ <img class="third-slide" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Third slide">
+ <div class="container">
+ <div class="carousel-caption text-right">
+ <h1>One more for good measure.</h1>
+ <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
+ <p><a class="btn btn-lg btn-primary" href="#" role="button">Browse gallery</a></p>
+ </div>
+ </div>
+ </div>
+ </div>
+ <a class="carousel-control-prev" href="#myCarousel" role="button" data-slide="prev">
+ <span class="carousel-control-prev-icon" aria-hidden="true"></span>
+ <span class="sr-only">Previous</span>
+ </a>
+ <a class="carousel-control-next" href="#myCarousel" role="button" data-slide="next">
+ <span class="carousel-control-next-icon" aria-hidden="true"></span>
+ <span class="sr-only">Next</span>
+ </a>
+ </div>
+
+
+ <!-- Marketing messaging and featurettes
+ ================================================== -->
+ <!-- Wrap the rest of the page in another container to center all the content. -->
+
+ <div class="container marketing">
+
+ <!-- Three columns of text below the carousel -->
+ <div class="row">
+ <div class="col-lg-4">
+ <img class="rounded-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" width="140" height="140">
+ <h2>Heading</h2>
+ <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna.</p>
+ <p><a class="btn btn-secondary" href="#" role="button">View details &raquo;</a></p>
+ </div><!-- /.col-lg-4 -->
+ <div class="col-lg-4">
+ <img class="rounded-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" width="140" height="140">
+ <h2>Heading</h2>
+ <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh.</p>
+ <p><a class="btn btn-secondary" href="#" role="button">View details &raquo;</a></p>
+ </div><!-- /.col-lg-4 -->
+ <div class="col-lg-4">
+ <img class="rounded-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" width="140" height="140">
+ <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-secondary" href="#" role="button">View details &raquo;</a></p>
+ </div><!-- /.col-lg-4 -->
+ </div><!-- /.row -->
+
+
+ <!-- START THE FEATURETTES -->
+
+ <hr class="featurette-divider">
+
+ <div class="row featurette">
+ <div class="col-md-7">
+ <h2 class="featurette-heading">First featurette heading. <span class="text-muted">It'll blow your mind.</span></h2>
+ <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
+ </div>
+ <div class="col-md-5">
+ <img class="featurette-image img-fluid mx-auto" data-src="holder.js/500x500/auto" alt="Generic placeholder image">
+ </div>
+ </div>
+
+ <hr class="featurette-divider">
+
+ <div class="row featurette">
+ <div class="col-md-7 order-md-2">
+ <h2 class="featurette-heading">Oh yeah, it's that good. <span class="text-muted">See for yourself.</span></h2>
+ <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
+ </div>
+ <div class="col-md-5 order-md-1">
+ <img class="featurette-image img-fluid mx-auto" data-src="holder.js/500x500/auto" alt="Generic placeholder image">
+ </div>
+ </div>
+
+ <hr class="featurette-divider">
+
+ <div class="row featurette">
+ <div class="col-md-7">
+ <h2 class="featurette-heading">And lastly, this one. <span class="text-muted">Checkmate.</span></h2>
+ <p class="lead">Donec ullamcorper nulla non metus auctor fringilla. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur. Fusce dapibus, tellus ac cursus commodo.</p>
+ </div>
+ <div class="col-md-5">
+ <img class="featurette-image img-fluid mx-auto" data-src="holder.js/500x500/auto" alt="Generic placeholder image">
+ </div>
+ </div>
+
+ <hr class="featurette-divider">
+
+ <!-- /END THE FEATURETTES -->
+
+ </div><!-- /.container -->
+
+
+ <!-- FOOTER -->
+ <footer class="container">
+ <p class="float-right"><a href="#">Back to top</a></p>
+ <p>&copy; 2017-2018 Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
+ </footer>
+ </main>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <!-- Just to make our placeholder images work. Don't actually copy the next line! -->
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/checkout/form-validation.css b/docs/4.1/examples/checkout/form-validation.css
new file mode 100644
index 0000000000..fd88d5a403
--- /dev/null
+++ b/docs/4.1/examples/checkout/form-validation.css
@@ -0,0 +1,11 @@
+.container {
+ max-width: 960px;
+}
+
+.border-top { border-top: 1px solid #e5e5e5; }
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
+.border-top-gray { border-top-color: #adb5bd; }
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
+
+.lh-condensed { line-height: 1.25; }
diff --git a/docs/4.1/examples/checkout/index.html b/docs/4.1/examples/checkout/index.html
new file mode 100644
index 0000000000..d8e5eafcbe
--- /dev/null
+++ b/docs/4.1/examples/checkout/index.html
@@ -0,0 +1,268 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Checkout example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="form-validation.css" rel="stylesheet">
+ </head>
+
+ <body class="bg-light">
+
+ <div class="container">
+ <div class="py-5 text-center">
+ <img class="d-block mx-auto mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
+ <h2>Checkout form</h2>
+ <p class="lead">Below is an example form built entirely with Bootstrap's form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.</p>
+ </div>
+
+ <div class="row">
+ <div class="col-md-4 order-md-2 mb-4">
+ <h4 class="d-flex justify-content-between align-items-center mb-3">
+ <span class="text-muted">Your cart</span>
+ <span class="badge badge-secondary badge-pill">3</span>
+ </h4>
+ <ul class="list-group mb-3">
+ <li class="list-group-item d-flex justify-content-between lh-condensed">
+ <div>
+ <h6 class="my-0">Product name</h6>
+ <small class="text-muted">Brief description</small>
+ </div>
+ <span class="text-muted">$12</span>
+ </li>
+ <li class="list-group-item d-flex justify-content-between lh-condensed">
+ <div>
+ <h6 class="my-0">Second product</h6>
+ <small class="text-muted">Brief description</small>
+ </div>
+ <span class="text-muted">$8</span>
+ </li>
+ <li class="list-group-item d-flex justify-content-between lh-condensed">
+ <div>
+ <h6 class="my-0">Third item</h6>
+ <small class="text-muted">Brief description</small>
+ </div>
+ <span class="text-muted">$5</span>
+ </li>
+ <li class="list-group-item d-flex justify-content-between bg-light">
+ <div class="text-success">
+ <h6 class="my-0">Promo code</h6>
+ <small>EXAMPLECODE</small>
+ </div>
+ <span class="text-success">-$5</span>
+ </li>
+ <li class="list-group-item d-flex justify-content-between">
+ <span>Total (USD)</span>
+ <strong>$20</strong>
+ </li>
+ </ul>
+
+ <form class="card p-2">
+ <div class="input-group">
+ <input type="text" class="form-control" placeholder="Promo code">
+ <div class="input-group-append">
+ <button type="submit" class="btn btn-secondary">Redeem</button>
+ </div>
+ </div>
+ </form>
+ </div>
+ <div class="col-md-8 order-md-1">
+ <h4 class="mb-3">Billing address</h4>
+ <form class="needs-validation" novalidate>
+ <div class="row">
+ <div class="col-md-6 mb-3">
+ <label for="firstName">First name</label>
+ <input type="text" class="form-control" id="firstName" placeholder="" value="" required>
+ <div class="invalid-feedback">
+ Valid first name is required.
+ </div>
+ </div>
+ <div class="col-md-6 mb-3">
+ <label for="lastName">Last name</label>
+ <input type="text" class="form-control" id="lastName" placeholder="" value="" required>
+ <div class="invalid-feedback">
+ Valid last name is required.
+ </div>
+ </div>
+ </div>
+
+ <div class="mb-3">
+ <label for="username">Username</label>
+ <div class="input-group">
+ <div class="input-group-prepend">
+ <span class="input-group-text">@</span>
+ </div>
+ <input type="text" class="form-control" id="username" placeholder="Username" required>
+ <div class="invalid-feedback" style="width: 100%;">
+ Your username is required.
+ </div>
+ </div>
+ </div>
+
+ <div class="mb-3">
+ <label for="email">Email <span class="text-muted">(Optional)</span></label>
+ <input type="email" class="form-control" id="email" placeholder="you@example.com">
+ <div class="invalid-feedback">
+ Please enter a valid email address for shipping updates.
+ </div>
+ </div>
+
+ <div class="mb-3">
+ <label for="address">Address</label>
+ <input type="text" class="form-control" id="address" placeholder="1234 Main St" required>
+ <div class="invalid-feedback">
+ Please enter your shipping address.
+ </div>
+ </div>
+
+ <div class="mb-3">
+ <label for="address2">Address 2 <span class="text-muted">(Optional)</span></label>
+ <input type="text" class="form-control" id="address2" placeholder="Apartment or suite">
+ </div>
+
+ <div class="row">
+ <div class="col-md-5 mb-3">
+ <label for="country">Country</label>
+ <select class="custom-select d-block w-100" id="country" required>
+ <option value="">Choose...</option>
+ <option>United States</option>
+ </select>
+ <div class="invalid-feedback">
+ Please select a valid country.
+ </div>
+ </div>
+ <div class="col-md-4 mb-3">
+ <label for="state">State</label>
+ <select class="custom-select d-block w-100" id="state" required>
+ <option value="">Choose...</option>
+ <option>California</option>
+ </select>
+ <div class="invalid-feedback">
+ Please provide a valid state.
+ </div>
+ </div>
+ <div class="col-md-3 mb-3">
+ <label for="zip">Zip</label>
+ <input type="text" class="form-control" id="zip" placeholder="" required>
+ <div class="invalid-feedback">
+ Zip code required.
+ </div>
+ </div>
+ </div>
+ <hr class="mb-4">
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" class="custom-control-input" id="same-address">
+ <label class="custom-control-label" for="same-address">Shipping address is the same as my billing address</label>
+ </div>
+ <div class="custom-control custom-checkbox">
+ <input type="checkbox" class="custom-control-input" id="save-info">
+ <label class="custom-control-label" for="save-info">Save this information for next time</label>
+ </div>
+ <hr class="mb-4">
+
+ <h4 class="mb-3">Payment</h4>
+
+ <div class="d-block my-3">
+ <div class="custom-control custom-radio">
+ <input id="credit" name="paymentMethod" type="radio" class="custom-control-input" checked required>
+ <label class="custom-control-label" for="credit">Credit card</label>
+ </div>
+ <div class="custom-control custom-radio">
+ <input id="debit" name="paymentMethod" type="radio" class="custom-control-input" required>
+ <label class="custom-control-label" for="debit">Debit card</label>
+ </div>
+ <div class="custom-control custom-radio">
+ <input id="paypal" name="paymentMethod" type="radio" class="custom-control-input" required>
+ <label class="custom-control-label" for="paypal">PayPal</label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-6 mb-3">
+ <label for="cc-name">Name on card</label>
+ <input type="text" class="form-control" id="cc-name" placeholder="" required>
+ <small class="text-muted">Full name as displayed on card</small>
+ <div class="invalid-feedback">
+ Name on card is required
+ </div>
+ </div>
+ <div class="col-md-6 mb-3">
+ <label for="cc-number">Credit card number</label>
+ <input type="text" class="form-control" id="cc-number" placeholder="" required>
+ <div class="invalid-feedback">
+ Credit card number is required
+ </div>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-3 mb-3">
+ <label for="cc-expiration">Expiration</label>
+ <input type="text" class="form-control" id="cc-expiration" placeholder="" required>
+ <div class="invalid-feedback">
+ Expiration date required
+ </div>
+ </div>
+ <div class="col-md-3 mb-3">
+ <label for="cc-cvv">CVV</label>
+ <input type="text" class="form-control" id="cc-cvv" placeholder="" required>
+ <div class="invalid-feedback">
+ Security code required
+ </div>
+ </div>
+ </div>
+ <hr class="mb-4">
+ <button class="btn btn-primary btn-lg btn-block" type="submit">Continue to checkout</button>
+ </form>
+ </div>
+ </div>
+
+ <footer class="my-5 pt-5 text-muted text-center text-small">
+ <p class="mb-1">&copy; 2017-2018 Company Name</p>
+ <ul class="list-inline">
+ <li class="list-inline-item"><a href="#">Privacy</a></li>
+ <li class="list-inline-item"><a href="#">Terms</a></li>
+ <li class="list-inline-item"><a href="#">Support</a></li>
+ </ul>
+ </footer>
+ </div>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ <script>
+ // Example starter JavaScript for disabling form submissions if there are invalid fields
+ (function() {
+ 'use strict';
+
+ window.addEventListener('load', function() {
+ // Fetch all the forms we want to apply custom Bootstrap validation styles to
+ var forms = document.getElementsByClassName('needs-validation');
+
+ // Loop over them and prevent submission
+ var validation = Array.prototype.filter.call(forms, function(form) {
+ form.addEventListener('submit', function(event) {
+ if (form.checkValidity() === false) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ form.classList.add('was-validated');
+ }, false);
+ });
+ }, false);
+ })();
+ </script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/cover/cover.css b/docs/4.1/examples/cover/cover.css
new file mode 100644
index 0000000000..7c6d33cdd5
--- /dev/null
+++ b/docs/4.1/examples/cover/cover.css
@@ -0,0 +1,106 @@
+/*
+ * Globals
+ */
+
+/* Links */
+a,
+a:focus,
+a:hover {
+ color: #fff;
+}
+
+/* Custom default button */
+.btn-secondary,
+.btn-secondary:hover,
+.btn-secondary:focus {
+ color: #333;
+ text-shadow: none; /* Prevent inheritance from `body` */
+ background-color: #fff;
+ border: .05rem solid #fff;
+}
+
+
+/*
+ * Base structure
+ */
+
+html,
+body {
+ height: 100%;
+ background-color: #333;
+}
+
+body {
+ display: -ms-flexbox;
+ display: flex;
+ color: #fff;
+ text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
+ box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
+}
+
+.cover-container {
+ max-width: 42em;
+}
+
+
+/*
+ * Header
+ */
+.masthead {
+ margin-bottom: 2rem;
+}
+
+.masthead-brand {
+ margin-bottom: 0;
+}
+
+.nav-masthead .nav-link {
+ padding: .25rem 0;
+ font-weight: 700;
+ color: rgba(255, 255, 255, .5);
+ background-color: transparent;
+ border-bottom: .25rem solid transparent;
+}
+
+.nav-masthead .nav-link:hover,
+.nav-masthead .nav-link:focus {
+ border-bottom-color: rgba(255, 255, 255, .25);
+}
+
+.nav-masthead .nav-link + .nav-link {
+ margin-left: 1rem;
+}
+
+.nav-masthead .active {
+ color: #fff;
+ border-bottom-color: #fff;
+}
+
+@media (min-width: 48em) {
+ .masthead-brand {
+ float: left;
+ }
+ .nav-masthead {
+ float: right;
+ }
+}
+
+
+/*
+ * Cover
+ */
+.cover {
+ padding: 0 1.5rem;
+}
+.cover .btn-lg {
+ padding: .75rem 1.25rem;
+ font-weight: 700;
+}
+
+
+/*
+ * Footer
+ */
+.mastfoot {
+ color: rgba(255, 255, 255, .5);
+}
diff --git a/docs/4.1/examples/cover/index.html b/docs/4.1/examples/cover/index.html
new file mode 100644
index 0000000000..0a0effca57
--- /dev/null
+++ b/docs/4.1/examples/cover/index.html
@@ -0,0 +1,57 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Cover Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="cover.css" rel="stylesheet">
+ </head>
+
+ <body class="text-center">
+
+ <div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
+ <header class="masthead mb-auto">
+ <div class="inner">
+ <h3 class="masthead-brand">Cover</h3>
+ <nav class="nav nav-masthead justify-content-center">
+ <a class="nav-link active" href="#">Home</a>
+ <a class="nav-link" href="#">Features</a>
+ <a class="nav-link" href="#">Contact</a>
+ </nav>
+ </div>
+ </header>
+
+ <main role="main" class="inner cover">
+ <h1 class="cover-heading">Cover your page.</h1>
+ <p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
+ <p class="lead">
+ <a href="#" class="btn btn-lg btn-secondary">Learn more</a>
+ </p>
+ </main>
+
+ <footer class="mastfoot mt-auto">
+ <div class="inner">
+ <p>Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
+ </div>
+ </footer>
+ </div>
+
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/dashboard/dashboard.css b/docs/4.1/examples/dashboard/dashboard.css
new file mode 100644
index 0000000000..3918097399
--- /dev/null
+++ b/docs/4.1/examples/dashboard/dashboard.css
@@ -0,0 +1,107 @@
+body {
+ font-size: .875rem;
+}
+
+.feather {
+ width: 16px;
+ height: 16px;
+ vertical-align: text-bottom;
+}
+
+/*
+ * Sidebar
+ */
+
+.sidebar {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 100; /* Behind the navbar */
+ padding: 48px 0 0; /* Height of navbar */
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
+}
+
+.sidebar-sticky {
+ position: relative;
+ top: 0;
+ height: calc(100vh - 48px);
+ padding-top: .5rem;
+ overflow-x: hidden;
+ overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
+}
+
+@supports ((position: -webkit-sticky) or (position: sticky)) {
+ .sidebar-sticky {
+ position: -webkit-sticky;
+ position: sticky;
+ }
+}
+
+.sidebar .nav-link {
+ font-weight: 500;
+ color: #333;
+}
+
+.sidebar .nav-link .feather {
+ margin-right: 4px;
+ color: #999;
+}
+
+.sidebar .nav-link.active {
+ color: #007bff;
+}
+
+.sidebar .nav-link:hover .feather,
+.sidebar .nav-link.active .feather {
+ color: inherit;
+}
+
+.sidebar-heading {
+ font-size: .75rem;
+ text-transform: uppercase;
+}
+
+/*
+ * Content
+ */
+
+[role="main"] {
+ padding-top: 48px; /* Space for fixed navbar */
+}
+
+/*
+ * Navbar
+ */
+
+.navbar-brand {
+ padding-top: .75rem;
+ padding-bottom: .75rem;
+ font-size: 1rem;
+ background-color: rgba(0, 0, 0, .25);
+ box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
+}
+
+.navbar .form-control {
+ padding: .75rem 1rem;
+ border-width: 0;
+ border-radius: 0;
+}
+
+.form-control-dark {
+ color: #fff;
+ background-color: rgba(255, 255, 255, .1);
+ border-color: rgba(255, 255, 255, .1);
+}
+
+.form-control-dark:focus {
+ border-color: transparent;
+ box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
+}
+
+/*
+ * Utilities
+ */
+
+.border-top { border-top: 1px solid #e5e5e5; }
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
diff --git a/docs/4.1/examples/dashboard/index.html b/docs/4.1/examples/dashboard/index.html
new file mode 100644
index 0000000000..d96d2d8d9d
--- /dev/null
+++ b/docs/4.1/examples/dashboard/index.html
@@ -0,0 +1,303 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Dashboard Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="dashboard.css" rel="stylesheet">
+ </head>
+
+ <body>
+ <nav class="navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow">
+ <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">Company name</a>
+ <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
+ <ul class="navbar-nav px-3">
+ <li class="nav-item text-nowrap">
+ <a class="nav-link" href="#">Sign out</a>
+ </li>
+ </ul>
+ </nav>
+
+ <div class="container-fluid">
+ <div class="row">
+ <nav class="col-md-2 d-none d-md-block bg-light sidebar">
+ <div class="sidebar-sticky">
+ <ul class="nav flex-column">
+ <li class="nav-item">
+ <a class="nav-link active" href="#">
+ <span data-feather="home"></span>
+ Dashboard <span class="sr-only">(current)</span>
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="file"></span>
+ Orders
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="shopping-cart"></span>
+ Products
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="users"></span>
+ Customers
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="bar-chart-2"></span>
+ Reports
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="layers"></span>
+ Integrations
+ </a>
+ </li>
+ </ul>
+
+ <h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
+ <span>Saved reports</span>
+ <a class="d-flex align-items-center text-muted" href="#">
+ <span data-feather="plus-circle"></span>
+ </a>
+ </h6>
+ <ul class="nav flex-column mb-2">
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="file-text"></span>
+ Current month
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="file-text"></span>
+ Last quarter
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="file-text"></span>
+ Social engagement
+ </a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">
+ <span data-feather="file-text"></span>
+ Year-end sale
+ </a>
+ </li>
+ </ul>
+ </div>
+ </nav>
+
+ <main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-4">
+ <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
+ <h1 class="h2">Dashboard</h1>
+ <div class="btn-toolbar mb-2 mb-md-0">
+ <div class="btn-group mr-2">
+ <button class="btn btn-sm btn-outline-secondary">Share</button>
+ <button class="btn btn-sm btn-outline-secondary">Export</button>
+ </div>
+ <button class="btn btn-sm btn-outline-secondary dropdown-toggle">
+ <span data-feather="calendar"></span>
+ This week
+ </button>
+ </div>
+ </div>
+
+ <canvas class="my-4 w-100" id="myChart" width="900" height="380"></canvas>
+
+ <h2>Section title</h2>
+ <div class="table-responsive">
+ <table class="table table-striped table-sm">
+ <thead>
+ <tr>
+ <th>#</th>
+ <th>Header</th>
+ <th>Header</th>
+ <th>Header</th>
+ <th>Header</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>1,001</td>
+ <td>Lorem</td>
+ <td>ipsum</td>
+ <td>dolor</td>
+ <td>sit</td>
+ </tr>
+ <tr>
+ <td>1,002</td>
+ <td>amet</td>
+ <td>consectetur</td>
+ <td>adipiscing</td>
+ <td>elit</td>
+ </tr>
+ <tr>
+ <td>1,003</td>
+ <td>Integer</td>
+ <td>nec</td>
+ <td>odio</td>
+ <td>Praesent</td>
+ </tr>
+ <tr>
+ <td>1,003</td>
+ <td>libero</td>
+ <td>Sed</td>
+ <td>cursus</td>
+ <td>ante</td>
+ </tr>
+ <tr>
+ <td>1,004</td>
+ <td>dapibus</td>
+ <td>diam</td>
+ <td>Sed</td>
+ <td>nisi</td>
+ </tr>
+ <tr>
+ <td>1,005</td>
+ <td>Nulla</td>
+ <td>quis</td>
+ <td>sem</td>
+ <td>at</td>
+ </tr>
+ <tr>
+ <td>1,006</td>
+ <td>nibh</td>
+ <td>elementum</td>
+ <td>imperdiet</td>
+ <td>Duis</td>
+ </tr>
+ <tr>
+ <td>1,007</td>
+ <td>sagittis</td>
+ <td>ipsum</td>
+ <td>Praesent</td>
+ <td>mauris</td>
+ </tr>
+ <tr>
+ <td>1,008</td>
+ <td>Fusce</td>
+ <td>nec</td>
+ <td>tellus</td>
+ <td>sed</td>
+ </tr>
+ <tr>
+ <td>1,009</td>
+ <td>augue</td>
+ <td>semper</td>
+ <td>porta</td>
+ <td>Mauris</td>
+ </tr>
+ <tr>
+ <td>1,010</td>
+ <td>massa</td>
+ <td>Vestibulum</td>
+ <td>lacinia</td>
+ <td>arcu</td>
+ </tr>
+ <tr>
+ <td>1,011</td>
+ <td>eget</td>
+ <td>nulla</td>
+ <td>Class</td>
+ <td>aptent</td>
+ </tr>
+ <tr>
+ <td>1,012</td>
+ <td>taciti</td>
+ <td>sociosqu</td>
+ <td>ad</td>
+ <td>litora</td>
+ </tr>
+ <tr>
+ <td>1,013</td>
+ <td>torquent</td>
+ <td>per</td>
+ <td>conubia</td>
+ <td>nostra</td>
+ </tr>
+ <tr>
+ <td>1,014</td>
+ <td>per</td>
+ <td>inceptos</td>
+ <td>himenaeos</td>
+ <td>Curabitur</td>
+ </tr>
+ <tr>
+ <td>1,015</td>
+ <td>sodales</td>
+ <td>ligula</td>
+ <td>in</td>
+ <td>libero</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </main>
+ </div>
+ </div>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+
+ <!-- Icons -->
+ <script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
+ <script>
+ feather.replace()
+ </script>
+
+ <!-- Graphs -->
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.min.js"></script>
+ <script>
+ var ctx = document.getElementById("myChart");
+ var myChart = new Chart(ctx, {
+ type: 'line',
+ data: {
+ labels: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
+ datasets: [{
+ data: [15339, 21345, 18483, 24003, 23489, 24092, 12034],
+ lineTension: 0,
+ backgroundColor: 'transparent',
+ borderColor: '#007bff',
+ borderWidth: 4,
+ pointBackgroundColor: '#007bff'
+ }]
+ },
+ options: {
+ scales: {
+ yAxes: [{
+ ticks: {
+ beginAtZero: false
+ }
+ }]
+ },
+ legend: {
+ display: false,
+ }
+ }
+ });
+ </script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/floating-labels/floating-labels.css b/docs/4.1/examples/floating-labels/floating-labels.css
new file mode 100644
index 0000000000..2c1d91bf36
--- /dev/null
+++ b/docs/4.1/examples/floating-labels/floating-labels.css
@@ -0,0 +1,82 @@
+:root {
+ --input-padding-x: .75rem;
+ --input-padding-y: .75rem;
+}
+
+html,
+body {
+ height: 100%;
+}
+
+body {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ padding-top: 40px;
+ padding-bottom: 40px;
+ background-color: #f5f5f5;
+}
+
+.form-signin {
+ width: 100%;
+ max-width: 420px;
+ padding: 15px;
+ margin: auto;
+}
+
+.form-label-group {
+ position: relative;
+ margin-bottom: 1rem;
+}
+
+.form-label-group > input,
+.form-label-group > label {
+ padding: var(--input-padding-y) var(--input-padding-x);
+}
+
+.form-label-group > label {
+ position: absolute;
+ top: 0;
+ left: 0;
+ display: block;
+ width: 100%;
+ margin-bottom: 0; /* Override default `<label>` margin */
+ line-height: 1.5;
+ color: #495057;
+ border: 1px solid transparent;
+ border-radius: .25rem;
+ transition: all .1s ease-in-out;
+}
+
+.form-label-group input::-webkit-input-placeholder {
+ color: transparent;
+}
+
+.form-label-group input:-ms-input-placeholder {
+ color: transparent;
+}
+
+.form-label-group input::-ms-input-placeholder {
+ color: transparent;
+}
+
+.form-label-group input::-moz-placeholder {
+ color: transparent;
+}
+
+.form-label-group input::placeholder {
+ color: transparent;
+}
+
+.form-label-group input:not(:placeholder-shown) {
+ padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
+ padding-bottom: calc(var(--input-padding-y) / 3);
+}
+
+.form-label-group input:not(:placeholder-shown) ~ label {
+ padding-top: calc(var(--input-padding-y) / 3);
+ padding-bottom: calc(var(--input-padding-y) / 3);
+ font-size: 12px;
+ color: #777;
+}
diff --git a/docs/4.1/examples/floating-labels/index.html b/docs/4.1/examples/floating-labels/index.html
new file mode 100644
index 0000000000..ebe38f3708
--- /dev/null
+++ b/docs/4.1/examples/floating-labels/index.html
@@ -0,0 +1,46 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Floating labels example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="floating-labels.css" rel="stylesheet">
+ </head>
+
+ <body>
+ <form class="form-signin">
+ <div class="text-center mb-4">
+ <img class="mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
+ <h1 class="h3 mb-3 font-weight-normal">Floating labels</h1>
+ <p>Build form controls with floating labels via the <code>:placeholder-shown</code> pseudo-element. <a href="https://caniuse.com/#feat=css-placeholder-shown">Works in latest Chrome, Safari, and Firefox.</a></p>
+ </div>
+
+ <div class="form-label-group">
+ <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
+ <label for="inputEmail">Email address</label>
+ </div>
+
+ <div class="form-label-group">
+ <input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
+ <label for="inputPassword">Password</label>
+ </div>
+
+ <div class="checkbox mb-3">
+ <label>
+ <input type="checkbox" value="remember-me"> Remember me
+ </label>
+ </div>
+ <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
+ <p class="mt-5 mb-3 text-muted text-center">&copy; 2017-2018</p>
+ </form>
+ </body>
+</html>
diff --git a/docs/4.1/examples/grid/grid.css b/docs/4.1/examples/grid/grid.css
new file mode 100644
index 0000000000..78f5dfda62
--- /dev/null
+++ b/docs/4.1/examples/grid/grid.css
@@ -0,0 +1,27 @@
+body {
+ padding-top: 2rem;
+ padding-bottom: 2rem;
+}
+
+h3 {
+ margin-top: 2rem;
+}
+
+.row {
+ margin-bottom: 1rem;
+}
+.row .row {
+ margin-top: 1rem;
+ margin-bottom: 0;
+}
+[class*="col-"] {
+ padding-top: 1rem;
+ padding-bottom: 1rem;
+ background-color: rgba(86, 61, 124, .15);
+ border: 1px solid rgba(86, 61, 124, .2);
+}
+
+hr {
+ margin-top: 2rem;
+ margin-bottom: 2rem;
+}
diff --git a/docs/4.1/examples/grid/index.html b/docs/4.1/examples/grid/index.html
new file mode 100644
index 0000000000..0be50f8163
--- /dev/null
+++ b/docs/4.1/examples/grid/index.html
@@ -0,0 +1,135 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Grid Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="grid.css" rel="stylesheet">
+ </head>
+
+ <body>
+ <div class="container">
+
+ <h1>Bootstrap grid examples</h1>
+ <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
+
+ <h3>Five grid tiers</h3>
+ <p>There are five tiers to the Bootstrap grid system, one for each range of devices we support. Each tier starts at a minimum viewport size and automatically applies to the larger devices unless overridden.</p>
+
+ <div class="row">
+ <div class="col-4">.col-4</div>
+ <div class="col-4">.col-4</div>
+ <div class="col-4">.col-4</div>
+ </div>
+
+ <div class="row">
+ <div class="col-sm-4">.col-sm-4</div>
+ <div class="col-sm-4">.col-sm-4</div>
+ <div class="col-sm-4">.col-sm-4</div>
+ </div>
+
+ <div class="row">
+ <div class="col-md-4">.col-md-4</div>
+ <div class="col-md-4">.col-md-4</div>
+ <div class="col-md-4">.col-md-4</div>
+ </div>
+
+ <div class="row">
+ <div class="col-lg-4">.col-lg-4</div>
+ <div class="col-lg-4">.col-lg-4</div>
+ <div class="col-lg-4">.col-lg-4</div>
+ </div>
+
+ <div class="row">
+ <div class="col-xl-4">.col-xl-4</div>
+ <div class="col-xl-4">.col-xl-4</div>
+ <div class="col-xl-4">.col-xl-4</div>
+ </div>
+
+ <h3>Three equal columns</h3>
+ <p>Get three equal-width columns <strong>starting at desktops and scaling to large desktops</strong>. On mobile devices, tablets and below, the columns will automatically stack.</p>
+ <div class="row">
+ <div class="col-md-4">.col-md-4</div>
+ <div class="col-md-4">.col-md-4</div>
+ <div class="col-md-4">.col-md-4</div>
+ </div>
+
+ <h3>Three unequal columns</h3>
+ <p>Get three columns <strong>starting at desktops and scaling to large desktops</strong> of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.</p>
+ <div class="row">
+ <div class="col-md-3">.col-md-3</div>
+ <div class="col-md-6">.col-md-6</div>
+ <div class="col-md-3">.col-md-3</div>
+ </div>
+
+ <h3>Two columns</h3>
+ <p>Get two columns <strong>starting at desktops and scaling to large desktops</strong>.</p>
+ <div class="row">
+ <div class="col-md-8">.col-md-8</div>
+ <div class="col-md-4">.col-md-4</div>
+ </div>
+
+ <h3>Full width, single column</h3>
+ <p class="text-warning">No grid classes are necessary for full-width elements.</p>
+
+ <hr>
+
+ <h3>Two columns with two nested columns</h3>
+ <p>Per the documentation, nesting is easy—just put a row of columns within an existing column. This gives you two columns <strong>starting at desktops and scaling to large desktops</strong>, with another two (equal widths) within the larger column.</p>
+ <p>At mobile device sizes, tablets and down, these columns and their nested columns will stack.</p>
+ <div class="row">
+ <div class="col-md-8">
+ .col-md-8
+ <div class="row">
+ <div class="col-md-6">.col-md-6</div>
+ <div class="col-md-6">.col-md-6</div>
+ </div>
+ </div>
+ <div class="col-md-4">.col-md-4</div>
+ </div>
+
+ <hr>
+
+ <h3>Mixed: mobile and desktop</h3>
+ <p>The Bootstrap v4 grid system has five tiers of classes: xs (extra small), sm (small), md (medium), lg (large), and xl (extra large). You can use nearly any combination of these classes to create more dynamic and flexible layouts.</p>
+ <p>Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.</p>
+ <div class="row">
+ <div class="col-12 col-md-8">.col-12 .col-md-8</div>
+ <div class="col-6 col-md-4">.col-6 .col-md-4</div>
+ </div>
+ <div class="row">
+ <div class="col-6 col-md-4">.col-6 .col-md-4</div>
+ <div class="col-6 col-md-4">.col-6 .col-md-4</div>
+ <div class="col-6 col-md-4">.col-6 .col-md-4</div>
+ </div>
+ <div class="row">
+ <div class="col-6">.col-6</div>
+ <div class="col-6">.col-6</div>
+ </div>
+
+ <hr>
+
+ <h3>Mixed: mobile, tablet, and desktop</h3>
+ <p></p>
+ <div class="row">
+ <div class="col-12 col-sm-6 col-lg-8">.col-12 .col-sm-6 .col-lg-8</div>
+ <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
+ </div>
+ <div class="row">
+ <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
+ <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
+ <div class="col-6 col-sm-4">.col-6 .col-sm-4</div>
+ </div>
+
+ </div> <!-- /container -->
+ </body>
+</html>
diff --git a/docs/4.1/examples/index.html b/docs/4.1/examples/index.html
new file mode 100644
index 0000000000..3bb984382f
--- /dev/null
+++ b/docs/4.1/examples/index.html
@@ -0,0 +1,22 @@
+---
+layout: examples
+title: Examples
+description: Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.
+redirect_from: "/examples/"
+---
+
+{% for entry in site.data.examples %}
+ <h2>{{ entry.category | capitalize }}</h2>
+ <p>{{ entry.description }}</p>
+ {% for example in entry.examples %}
+ {% if forloop.first %}<div class="row">{% endif %}
+ <div class="col-sm-6 col-md-4 col-xl-3 mb-3">
+ <a href="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/{{ example.name | slugify }}/">
+ <img class="img-thumbnail mb-3" src="{{ site.baseurl }}/docs/{{ site.docs_version }}/examples/screenshots/{{ example.name | slugify }}.png" alt="{{ example.name }} screenshot" width="960" height="600">
+ <h5 class="mb-1">{{ example.name }}</h5>
+ </a>
+ <p class="text-muted">{{ example.description }}</p>
+ </div>
+ {% if forloop.last %}</div>{% endif %}
+ {% endfor %}
+{% endfor %}
diff --git a/docs/4.1/examples/jumbotron/index.html b/docs/4.1/examples/jumbotron/index.html
new file mode 100644
index 0000000000..5499cc6308
--- /dev/null
+++ b/docs/4.1/examples/jumbotron/index.html
@@ -0,0 +1,103 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Jumbotron Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="jumbotron.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
+ <a class="navbar-brand" href="#">Navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExampleDefault">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown01">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-lg-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+
+ <main role="main">
+
+ <!-- Main jumbotron for a primary marketing message or call to action -->
+ <div class="jumbotron">
+ <div class="container">
+ <h1 class="display-3">Hello, world!</h1>
+ <p>This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
+ <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more &raquo;</a></p>
+ </div>
+ </div>
+
+ <div class="container">
+ <!-- Example row of columns -->
+ <div class="row">
+ <div class="col-md-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-secondary" href="#" role="button">View details &raquo;</a></p>
+ </div>
+ <div class="col-md-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-secondary" href="#" role="button">View details &raquo;</a></p>
+ </div>
+ <div class="col-md-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-secondary" href="#" role="button">View details &raquo;</a></p>
+ </div>
+ </div>
+
+ <hr>
+
+ </div> <!-- /container -->
+
+ </main>
+
+ <footer class="container">
+ <p>&copy; Company 2017-2018</p>
+ </footer>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/jumbotron/jumbotron.css b/docs/4.1/examples/jumbotron/jumbotron.css
new file mode 100644
index 0000000000..d751264eff
--- /dev/null
+++ b/docs/4.1/examples/jumbotron/jumbotron.css
@@ -0,0 +1,4 @@
+/* Move down content because we have a fixed navbar that is 3.5rem tall */
+body {
+ padding-top: 3.5rem;
+}
diff --git a/docs/4.1/examples/navbar-bottom/index.html b/docs/4.1/examples/navbar-bottom/index.html
new file mode 100644
index 0000000000..539e739d23
--- /dev/null
+++ b/docs/4.1/examples/navbar-bottom/index.html
@@ -0,0 +1,60 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Bottom navbar example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+ </head>
+
+ <body>
+ <div class="container">
+ <div class="jumbotron mt-3">
+ <h1>Bottom Navbar example</h1>
+ <p class="lead">This example is a quick exercise to illustrate how the bottom navbar works.</p>
+ <a class="btn btn-lg btn-primary" href="../../components/navbar/" role="button">View navbar docs &raquo;</a>
+ </div>
+ </div>
+ <nav class="navbar fixed-bottom navbar-expand-sm navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Bottom navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropup">
+ <a class="nav-link dropdown-toggle" href="https://getbootstrap.com" id="dropdown10" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropup</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown10">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </nav>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/navbar-fixed/index.html b/docs/4.1/examples/navbar-fixed/index.html
new file mode 100644
index 0000000000..1c5196ffbe
--- /dev/null
+++ b/docs/4.1/examples/navbar-fixed/index.html
@@ -0,0 +1,61 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Fixed top navbar example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="navbar-top-fixed.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
+ <a class="navbar-brand" href="#">Fixed navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ </ul>
+ <form class="form-inline mt-2 mt-md-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+
+ <main role="main" class="container">
+ <div class="jumbotron">
+ <h1>Navbar example</h1>
+ <p class="lead">This example is a quick exercise to illustrate how fixed to top navbar works. As you scroll, it will remain fixed to the top of your browser's viewport.</p>
+ <a class="btn btn-lg btn-primary" href="../../components/navbar/" role="button">View navbar docs &raquo;</a>
+ </div>
+ </main>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/navbar-fixed/navbar-top-fixed.css b/docs/4.1/examples/navbar-fixed/navbar-top-fixed.css
new file mode 100644
index 0000000000..c77c0c1475
--- /dev/null
+++ b/docs/4.1/examples/navbar-fixed/navbar-top-fixed.css
@@ -0,0 +1,5 @@
+/* Show it is fixed to the top */
+body {
+ min-height: 75rem;
+ padding-top: 4.5rem;
+}
diff --git a/docs/4.1/examples/navbar-static/index.html b/docs/4.1/examples/navbar-static/index.html
new file mode 100644
index 0000000000..c1eebd7196
--- /dev/null
+++ b/docs/4.1/examples/navbar-static/index.html
@@ -0,0 +1,61 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Top navbar example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="navbar-top.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <nav class="navbar navbar-expand-md navbar-dark bg-dark mb-4">
+ <a class="navbar-brand" href="#">Top navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ </ul>
+ <form class="form-inline mt-2 mt-md-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+
+ <main role="main" class="container">
+ <div class="jumbotron">
+ <h1>Navbar example</h1>
+ <p class="lead">This example is a quick exercise to illustrate how the top-aligned navbar works. As you scroll, this navbar remains in its original position and moves with the rest of the page.</p>
+ <a class="btn btn-lg btn-primary" href="../../components/navbar/" role="button">View navbar docs &raquo;</a>
+ </div>
+ </main>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/navbar-static/navbar-top.css b/docs/4.1/examples/navbar-static/navbar-top.css
new file mode 100644
index 0000000000..25bbdde094
--- /dev/null
+++ b/docs/4.1/examples/navbar-static/navbar-top.css
@@ -0,0 +1,4 @@
+/* Show it's not fixed to the top */
+body {
+ min-height: 75rem;
+}
diff --git a/docs/4.1/examples/navbars/index.html b/docs/4.1/examples/navbars/index.html
new file mode 100644
index 0000000000..eb43971872
--- /dev/null
+++ b/docs/4.1/examples/navbars/index.html
@@ -0,0 +1,347 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Navbar Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="navbar.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <nav class="navbar navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Never expand</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample01" aria-controls="navbarsExample01" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample01">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown01">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search" aria-label="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Always expand</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample02" aria-controls="navbarsExample02" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample02">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-sm navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Expand at sm</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample03" aria-controls="navbarsExample03" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample03">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown03" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown03">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-md navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Expand at md</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample04" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample04">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown04" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown04">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Expand at lg</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample05" aria-controls="navbarsExample05" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample05">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown05" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown05">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-xl navbar-dark bg-dark">
+ <a class="navbar-brand" href="#">Expand at xl</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample06" aria-controls="navbarsExample06" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample06">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown06" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown06">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
+ <div class="container">
+ <a class="navbar-brand" href="#">Container</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample07" aria-controls="navbarsExample07" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample07">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown07" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown07">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search" aria-label="Search">
+ </form>
+ </div>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample08" aria-controls="navbarsExample08" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse justify-content-md-center" id="navbarsExample08">
+ <ul class="navbar-nav">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Centered nav only <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown08" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown08">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </nav>
+
+ <div class="container">
+ <nav class="navbar navbar-expand-lg navbar-light bg-light rounded">
+ <a class="navbar-brand" href="#">Navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample09" aria-controls="navbarsExample09" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExample09">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown09" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown09">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-md-0">
+ <input class="form-control" type="text" placeholder="Search" aria-label="Search">
+ </form>
+ </div>
+ </nav>
+
+ <nav class="navbar navbar-expand-lg navbar-light bg-light rounded">
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample10" aria-controls="navbarsExample10" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse justify-content-md-center" id="navbarsExample10">
+ <ul class="navbar-nav">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Centered nav only <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown10" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown10">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </nav>
+
+ <main role="main">
+ <div class="jumbotron">
+ <div class="col-sm-8 mx-auto">
+ <h1>Navbar examples</h1>
+ <p>This example is a quick exercise to illustrate how the navbar and its contents work. Some navbars extend the width of the viewport, others are confined within a <code>.container</code>. For positioning of navbars, checkout the <a href="../navbar-static/">top</a> and <a href="../navbar-fixed/">fixed top</a> examples.</p>
+ <p>At the smallest breakpoint, the collapse plugin is used to hide the links and show a menu button to toggle the collapsed content.</p>
+ <p>
+ <a class="btn btn-primary" href="../../components/navbar/" role="button">View navbar docs &raquo;</a>
+ </p>
+ </div>
+ </div>
+ </main>
+ </div>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/navbars/navbar.css b/docs/4.1/examples/navbars/navbar.css
new file mode 100644
index 0000000000..70d209409d
--- /dev/null
+++ b/docs/4.1/examples/navbars/navbar.css
@@ -0,0 +1,7 @@
+body {
+ padding-bottom: 20px;
+}
+
+.navbar {
+ margin-bottom: 20px;
+}
diff --git a/docs/4.1/examples/offcanvas/index.html b/docs/4.1/examples/offcanvas/index.html
new file mode 100644
index 0000000000..ed315db328
--- /dev/null
+++ b/docs/4.1/examples/offcanvas/index.html
@@ -0,0 +1,159 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Offcanvas template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="offcanvas.css" rel="stylesheet">
+ </head>
+
+ <body class="bg-light">
+
+ <nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
+ <a class="navbar-brand mr-auto mr-lg-0" href="#">Offcanvas navbar</a>
+ <button class="navbar-toggler p-0 border-0" type="button" data-toggle="offcanvas">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="navbar-collapse offcanvas-collapse" id="navbarsExampleDefault">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Dashboard <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Notifications</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Profile</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Switch account</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Settings</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown01">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-lg-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+
+ <div class="nav-scroller bg-white box-shadow">
+ <nav class="nav nav-underline">
+ <a class="nav-link active" href="#">Dashboard</a>
+ <a class="nav-link" href="#">
+ Friends
+ <span class="badge badge-pill bg-light align-text-bottom">27</span>
+ </a>
+ <a class="nav-link" href="#">Explore</a>
+ <a class="nav-link" href="#">Suggestions</a>
+ <a class="nav-link" href="#">Link</a>
+ <a class="nav-link" href="#">Link</a>
+ <a class="nav-link" href="#">Link</a>
+ <a class="nav-link" href="#">Link</a>
+ <a class="nav-link" href="#">Link</a>
+ </nav>
+ </div>
+
+ <main role="main" class="container">
+ <div class="d-flex align-items-center p-3 my-3 text-white-50 bg-purple rounded box-shadow">
+ <img class="mr-3" src="https://getbootstrap.com/assets/brand/bootstrap-outline.svg" alt="" width="48" height="48">
+ <div class="lh-100">
+ <h6 class="mb-0 text-white lh-100">Bootstrap</h6>
+ <small>Since 2011</small>
+ </div>
+ </div>
+
+ <div class="my-3 p-3 bg-white rounded box-shadow">
+ <h6 class="border-bottom border-gray pb-2 mb-0">Recent updates</h6>
+ <div class="media text-muted pt-3">
+ <img data-src="holder.js/32x32?theme=thumb&bg=007bff&fg=007bff&size=1" alt="" class="mr-2 rounded">
+ <p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
+ <strong class="d-block text-gray-dark">@username</strong>
+ 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.
+ </p>
+ </div>
+ <div class="media text-muted pt-3">
+ <img data-src="holder.js/32x32?theme=thumb&bg=e83e8c&fg=e83e8c&size=1" alt="" class="mr-2 rounded">
+ <p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
+ <strong class="d-block text-gray-dark">@username</strong>
+ 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.
+ </p>
+ </div>
+ <div class="media text-muted pt-3">
+ <img data-src="holder.js/32x32?theme=thumb&bg=6f42c1&fg=6f42c1&size=1" alt="" class="mr-2 rounded">
+ <p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
+ <strong class="d-block text-gray-dark">@username</strong>
+ 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.
+ </p>
+ </div>
+ <small class="d-block text-right mt-3">
+ <a href="#">All updates</a>
+ </small>
+ </div>
+
+ <div class="my-3 p-3 bg-white rounded box-shadow">
+ <h6 class="border-bottom border-gray pb-2 mb-0">Suggestions</h6>
+ <div class="media text-muted pt-3">
+ <img data-src="holder.js/32x32?theme=thumb&bg=007bff&fg=007bff&size=1" alt="" class="mr-2 rounded">
+ <div class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
+ <div class="d-flex justify-content-between align-items-center w-100">
+ <strong class="text-gray-dark">Full Name</strong>
+ <a href="#">Follow</a>
+ </div>
+ <span class="d-block">@username</span>
+ </div>
+ </div>
+ <div class="media text-muted pt-3">
+ <img data-src="holder.js/32x32?theme=thumb&bg=007bff&fg=007bff&size=1" alt="" class="mr-2 rounded">
+ <div class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
+ <div class="d-flex justify-content-between align-items-center w-100">
+ <strong class="text-gray-dark">Full Name</strong>
+ <a href="#">Follow</a>
+ </div>
+ <span class="d-block">@username</span>
+ </div>
+ </div>
+ <div class="media text-muted pt-3">
+ <img data-src="holder.js/32x32?theme=thumb&bg=007bff&fg=007bff&size=1" alt="" class="mr-2 rounded">
+ <div class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
+ <div class="d-flex justify-content-between align-items-center w-100">
+ <strong class="text-gray-dark">Full Name</strong>
+ <a href="#">Follow</a>
+ </div>
+ <span class="d-block">@username</span>
+ </div>
+ </div>
+ <small class="d-block text-right mt-3">
+ <a href="#">All suggestions</a>
+ </small>
+ </div>
+ </main>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ <script src="offcanvas.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/offcanvas/offcanvas.css b/docs/4.1/examples/offcanvas/offcanvas.css
new file mode 100644
index 0000000000..7edfa0bc9c
--- /dev/null
+++ b/docs/4.1/examples/offcanvas/offcanvas.css
@@ -0,0 +1,79 @@
+html,
+body {
+ overflow-x: hidden; /* Prevent scroll on narrow devices */
+}
+
+body {
+ padding-top: 56px;
+}
+
+@media (max-width: 991.98px) {
+ .offcanvas-collapse {
+ position: fixed;
+ top: 56px; /* Height of navbar */
+ bottom: 0;
+ left: 100%;
+ width: 100%;
+ padding-right: 1rem;
+ padding-left: 1rem;
+ overflow-y: auto;
+ visibility: hidden;
+ background-color: #343a40;
+ transition-timing-function: ease-in-out;
+ transition-duration: .3s;
+ transition-property: left, visibility;
+ }
+ .offcanvas-collapse.open {
+ left: 0;
+ visibility: visible;
+ }
+}
+
+.nav-scroller {
+ position: relative;
+ z-index: 2;
+ height: 2.75rem;
+ overflow-y: hidden;
+}
+
+.nav-scroller .nav {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-wrap: nowrap;
+ flex-wrap: nowrap;
+ padding-bottom: 1rem;
+ margin-top: -1px;
+ overflow-x: auto;
+ color: rgba(255, 255, 255, .75);
+ text-align: center;
+ white-space: nowrap;
+ -webkit-overflow-scrolling: touch;
+}
+
+.nav-underline .nav-link {
+ padding-top: .75rem;
+ padding-bottom: .75rem;
+ font-size: .875rem;
+ color: #6c757d;
+}
+
+.nav-underline .nav-link:hover {
+ color: #007bff;
+}
+
+.nav-underline .active {
+ font-weight: 500;
+ color: #343a40;
+}
+
+.text-white-50 { color: rgba(255, 255, 255, .5); }
+
+.bg-purple { background-color: #6f42c1; }
+
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
+
+.lh-100 { line-height: 1; }
+.lh-125 { line-height: 1.25; }
+.lh-150 { line-height: 1.5; }
diff --git a/docs/4.1/examples/offcanvas/offcanvas.js b/docs/4.1/examples/offcanvas/offcanvas.js
new file mode 100644
index 0000000000..bc3e467118
--- /dev/null
+++ b/docs/4.1/examples/offcanvas/offcanvas.js
@@ -0,0 +1,7 @@
+$(function () {
+ 'use strict'
+
+ $('[data-toggle="offcanvas"]').on('click', function () {
+ $('.offcanvas-collapse').toggleClass('open')
+ })
+})
diff --git a/docs/4.1/examples/pricing/index.html b/docs/4.1/examples/pricing/index.html
new file mode 100644
index 0000000000..36fae88d25
--- /dev/null
+++ b/docs/4.1/examples/pricing/index.html
@@ -0,0 +1,142 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Pricing example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="pricing.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
+ <h5 class="my-0 mr-md-auto font-weight-normal">Company name</h5>
+ <nav class="my-2 my-md-0 mr-md-3">
+ <a class="p-2 text-dark" href="#">Features</a>
+ <a class="p-2 text-dark" href="#">Enterprise</a>
+ <a class="p-2 text-dark" href="#">Support</a>
+ <a class="p-2 text-dark" href="#">Pricing</a>
+ </nav>
+ <a class="btn btn-outline-primary" href="#">Sign up</a>
+ </div>
+
+ <div class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
+ <h1 class="display-4">Pricing</h1>
+ <p class="lead">Quickly build an effective pricing table for your potential customers with this Bootstrap example. It's built with default Bootstrap components and utilities with little customization.</p>
+ </div>
+
+ <div class="container">
+ <div class="card-deck mb-3 text-center">
+ <div class="card mb-4 box-shadow">
+ <div class="card-header">
+ <h4 class="my-0 font-weight-normal">Free</h4>
+ </div>
+ <div class="card-body">
+ <h1 class="card-title pricing-card-title">$0 <small class="text-muted">/ mo</small></h1>
+ <ul class="list-unstyled mt-3 mb-4">
+ <li>10 users included</li>
+ <li>2 GB of storage</li>
+ <li>Email support</li>
+ <li>Help center access</li>
+ </ul>
+ <button type="button" class="btn btn-lg btn-block btn-outline-primary">Sign up for free</button>
+ </div>
+ </div>
+ <div class="card mb-4 box-shadow">
+ <div class="card-header">
+ <h4 class="my-0 font-weight-normal">Pro</h4>
+ </div>
+ <div class="card-body">
+ <h1 class="card-title pricing-card-title">$15 <small class="text-muted">/ mo</small></h1>
+ <ul class="list-unstyled mt-3 mb-4">
+ <li>20 users included</li>
+ <li>10 GB of storage</li>
+ <li>Priority email support</li>
+ <li>Help center access</li>
+ </ul>
+ <button type="button" class="btn btn-lg btn-block btn-primary">Get started</button>
+ </div>
+ </div>
+ <div class="card mb-4 box-shadow">
+ <div class="card-header">
+ <h4 class="my-0 font-weight-normal">Enterprise</h4>
+ </div>
+ <div class="card-body">
+ <h1 class="card-title pricing-card-title">$29 <small class="text-muted">/ mo</small></h1>
+ <ul class="list-unstyled mt-3 mb-4">
+ <li>30 users included</li>
+ <li>15 GB of storage</li>
+ <li>Phone and email support</li>
+ <li>Help center access</li>
+ </ul>
+ <button type="button" class="btn btn-lg btn-block btn-primary">Contact us</button>
+ </div>
+ </div>
+ </div>
+
+ <footer class="pt-4 my-md-5 pt-md-5 border-top">
+ <div class="row">
+ <div class="col-12 col-md">
+ <img class="mb-2" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="24" height="24">
+ <small class="d-block mb-3 text-muted">&copy; 2017-2018</small>
+ </div>
+ <div class="col-6 col-md">
+ <h5>Features</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Cool stuff</a></li>
+ <li><a class="text-muted" href="#">Random feature</a></li>
+ <li><a class="text-muted" href="#">Team feature</a></li>
+ <li><a class="text-muted" href="#">Stuff for developers</a></li>
+ <li><a class="text-muted" href="#">Another one</a></li>
+ <li><a class="text-muted" href="#">Last time</a></li>
+ </ul>
+ </div>
+ <div class="col-6 col-md">
+ <h5>Resources</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Resource</a></li>
+ <li><a class="text-muted" href="#">Resource name</a></li>
+ <li><a class="text-muted" href="#">Another resource</a></li>
+ <li><a class="text-muted" href="#">Final resource</a></li>
+ </ul>
+ </div>
+ <div class="col-6 col-md">
+ <h5>About</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Team</a></li>
+ <li><a class="text-muted" href="#">Locations</a></li>
+ <li><a class="text-muted" href="#">Privacy</a></li>
+ <li><a class="text-muted" href="#">Terms</a></li>
+ </ul>
+ </div>
+ </div>
+ </footer>
+ </div>
+
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ <script>
+ Holder.addTheme('thumb', {
+ bg: '#55595c',
+ fg: '#eceeef',
+ text: 'Thumbnail'
+ });
+ </script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/pricing/pricing.css b/docs/4.1/examples/pricing/pricing.css
new file mode 100644
index 0000000000..1b52205c6e
--- /dev/null
+++ b/docs/4.1/examples/pricing/pricing.css
@@ -0,0 +1,25 @@
+html {
+ font-size: 14px;
+}
+@media (min-width: 768px) {
+ html {
+ font-size: 16px;
+ }
+}
+
+.container {
+ max-width: 960px;
+}
+
+.pricing-header {
+ max-width: 700px;
+}
+
+.card-deck .card {
+ min-width: 220px;
+}
+
+.border-top { border-top: 1px solid #e5e5e5; }
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
diff --git a/docs/4.1/examples/product/index.html b/docs/4.1/examples/product/index.html
new file mode 100644
index 0000000000..32f1e23478
--- /dev/null
+++ b/docs/4.1/examples/product/index.html
@@ -0,0 +1,178 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Product example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="product.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <nav class="site-header sticky-top py-1">
+ <div class="container d-flex flex-column flex-md-row justify-content-between">
+ <a class="py-2" href="#">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="d-block mx-auto"><circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line></svg>
+ </a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Tour</a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Product</a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Features</a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Enterprise</a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Support</a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Pricing</a>
+ <a class="py-2 d-none d-md-inline-block" href="#">Cart</a>
+ </div>
+ </nav>
+
+ <div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
+ <div class="col-md-5 p-lg-5 mx-auto my-5">
+ <h1 class="display-4 font-weight-normal">Punny headline</h1>
+ <p class="lead font-weight-normal">And an even wittier subheading to boot. Jumpstart your marketing efforts with this example based on Apple's marketing pages.</p>
+ <a class="btn btn-outline-secondary" href="#">Coming soon</a>
+ </div>
+ <div class="product-device box-shadow d-none d-md-block"></div>
+ <div class="product-device product-device-2 box-shadow d-none d-md-block"></div>
+ </div>
+
+ <div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
+ <div class="bg-dark mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center text-white overflow-hidden">
+ <div class="my-3 py-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-light box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ <div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
+ <div class="my-3 p-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-dark box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ </div>
+
+ <div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
+ <div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
+ <div class="my-3 p-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-dark box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ <div class="bg-primary mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center text-white overflow-hidden">
+ <div class="my-3 py-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-light box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ </div>
+
+ <div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
+ <div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
+ <div class="my-3 p-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-white box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ <div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
+ <div class="my-3 py-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-white box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ </div>
+
+ <div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
+ <div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
+ <div class="my-3 p-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-white box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ <div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
+ <div class="my-3 py-3">
+ <h2 class="display-5">Another headline</h2>
+ <p class="lead">And an even wittier subheading.</p>
+ </div>
+ <div class="bg-white box-shadow mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
+ </div>
+ </div>
+
+ <footer class="container py-5">
+ <div class="row">
+ <div class="col-12 col-md">
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="d-block mb-2"><circle cx="12" cy="12" r="10"></circle><line x1="14.31" y1="8" x2="20.05" y2="17.94"></line><line x1="9.69" y1="8" x2="21.17" y2="8"></line><line x1="7.38" y1="12" x2="13.12" y2="2.06"></line><line x1="9.69" y1="16" x2="3.95" y2="6.06"></line><line x1="14.31" y1="16" x2="2.83" y2="16"></line><line x1="16.62" y1="12" x2="10.88" y2="21.94"></line></svg>
+ <small class="d-block mb-3 text-muted">&copy; 2017-2018</small>
+ </div>
+ <div class="col-6 col-md">
+ <h5>Features</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Cool stuff</a></li>
+ <li><a class="text-muted" href="#">Random feature</a></li>
+ <li><a class="text-muted" href="#">Team feature</a></li>
+ <li><a class="text-muted" href="#">Stuff for developers</a></li>
+ <li><a class="text-muted" href="#">Another one</a></li>
+ <li><a class="text-muted" href="#">Last time</a></li>
+ </ul>
+ </div>
+ <div class="col-6 col-md">
+ <h5>Resources</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Resource</a></li>
+ <li><a class="text-muted" href="#">Resource name</a></li>
+ <li><a class="text-muted" href="#">Another resource</a></li>
+ <li><a class="text-muted" href="#">Final resource</a></li>
+ </ul>
+ </div>
+ <div class="col-6 col-md">
+ <h5>Resources</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Business</a></li>
+ <li><a class="text-muted" href="#">Education</a></li>
+ <li><a class="text-muted" href="#">Government</a></li>
+ <li><a class="text-muted" href="#">Gaming</a></li>
+ </ul>
+ </div>
+ <div class="col-6 col-md">
+ <h5>About</h5>
+ <ul class="list-unstyled text-small">
+ <li><a class="text-muted" href="#">Team</a></li>
+ <li><a class="text-muted" href="#">Locations</a></li>
+ <li><a class="text-muted" href="#">Privacy</a></li>
+ <li><a class="text-muted" href="#">Terms</a></li>
+ </ul>
+ </div>
+ </div>
+ </footer>
+
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="../../../../assets/js/vendor/holder.min.js"></script>
+ <script>
+ Holder.addTheme('thumb', {
+ bg: '#55595c',
+ fg: '#eceeef',
+ text: 'Thumbnail'
+ });
+ </script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/product/product.css b/docs/4.1/examples/product/product.css
new file mode 100644
index 0000000000..cc0d15c8ce
--- /dev/null
+++ b/docs/4.1/examples/product/product.css
@@ -0,0 +1,79 @@
+.container {
+ max-width: 960px;
+}
+
+/*
+ * Custom translucent site header
+ */
+
+.site-header {
+ background-color: rgba(0, 0, 0, .85);
+ -webkit-backdrop-filter: saturate(180%) blur(20px);
+ backdrop-filter: saturate(180%) blur(20px);
+}
+.site-header a {
+ color: #999;
+ transition: ease-in-out color .15s;
+}
+.site-header a:hover {
+ color: #fff;
+ text-decoration: none;
+}
+
+/*
+ * Dummy devices (replace them with your own or something else entirely!)
+ */
+
+.product-device {
+ position: absolute;
+ right: 10%;
+ bottom: -30%;
+ width: 300px;
+ height: 540px;
+ background-color: #333;
+ border-radius: 21px;
+ -webkit-transform: rotate(30deg);
+ transform: rotate(30deg);
+}
+
+.product-device::before {
+ position: absolute;
+ top: 10%;
+ right: 10px;
+ bottom: 10%;
+ left: 10px;
+ content: "";
+ background-color: rgba(255, 255, 255, .1);
+ border-radius: 5px;
+}
+
+.product-device-2 {
+ top: -25%;
+ right: auto;
+ bottom: 0;
+ left: 5%;
+ background-color: #e5e5e5;
+}
+
+
+/*
+ * Extra utilities
+ */
+
+.border-top { border-top: 1px solid #e5e5e5; }
+.border-bottom { border-bottom: 1px solid #e5e5e5; }
+
+.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
+
+.flex-equal > * {
+ -ms-flex: 1;
+ flex: 1;
+}
+@media (min-width: 768px) {
+ .flex-md-equal > * {
+ -ms-flex: 1;
+ flex: 1;
+ }
+}
+
+.overflow-hidden { overflow: hidden; }
diff --git a/docs/4.1/examples/screenshots/album.png b/docs/4.1/examples/screenshots/album.png
new file mode 100644
index 0000000000..162269c461
--- /dev/null
+++ b/docs/4.1/examples/screenshots/album.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/blog.png b/docs/4.1/examples/screenshots/blog.png
new file mode 100644
index 0000000000..f5480314b4
--- /dev/null
+++ b/docs/4.1/examples/screenshots/blog.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/carousel.png b/docs/4.1/examples/screenshots/carousel.png
new file mode 100644
index 0000000000..39df35930c
--- /dev/null
+++ b/docs/4.1/examples/screenshots/carousel.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/checkout.png b/docs/4.1/examples/screenshots/checkout.png
new file mode 100644
index 0000000000..3e3c5af4b0
--- /dev/null
+++ b/docs/4.1/examples/screenshots/checkout.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/cover.png b/docs/4.1/examples/screenshots/cover.png
new file mode 100644
index 0000000000..9d20fb2ed6
--- /dev/null
+++ b/docs/4.1/examples/screenshots/cover.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/dashboard.png b/docs/4.1/examples/screenshots/dashboard.png
new file mode 100644
index 0000000000..52b23dff69
--- /dev/null
+++ b/docs/4.1/examples/screenshots/dashboard.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/floating-labels.png b/docs/4.1/examples/screenshots/floating-labels.png
new file mode 100644
index 0000000000..5d284bfe04
--- /dev/null
+++ b/docs/4.1/examples/screenshots/floating-labels.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/grid.png b/docs/4.1/examples/screenshots/grid.png
new file mode 100644
index 0000000000..d7a111b0c4
--- /dev/null
+++ b/docs/4.1/examples/screenshots/grid.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/jumbotron.png b/docs/4.1/examples/screenshots/jumbotron.png
new file mode 100644
index 0000000000..4d83dffa6f
--- /dev/null
+++ b/docs/4.1/examples/screenshots/jumbotron.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/navbar-bottom.png b/docs/4.1/examples/screenshots/navbar-bottom.png
new file mode 100644
index 0000000000..a62faa182e
--- /dev/null
+++ b/docs/4.1/examples/screenshots/navbar-bottom.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/navbar-fixed.png b/docs/4.1/examples/screenshots/navbar-fixed.png
new file mode 100644
index 0000000000..1ce8ca576c
--- /dev/null
+++ b/docs/4.1/examples/screenshots/navbar-fixed.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/navbar-static.png b/docs/4.1/examples/screenshots/navbar-static.png
new file mode 100644
index 0000000000..758aa61e8a
--- /dev/null
+++ b/docs/4.1/examples/screenshots/navbar-static.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/navbars.png b/docs/4.1/examples/screenshots/navbars.png
new file mode 100644
index 0000000000..ce11b8d2cd
--- /dev/null
+++ b/docs/4.1/examples/screenshots/navbars.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/offcanvas.png b/docs/4.1/examples/screenshots/offcanvas.png
new file mode 100644
index 0000000000..e5287dde88
--- /dev/null
+++ b/docs/4.1/examples/screenshots/offcanvas.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/pricing.png b/docs/4.1/examples/screenshots/pricing.png
new file mode 100644
index 0000000000..9ddac54ea8
--- /dev/null
+++ b/docs/4.1/examples/screenshots/pricing.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/product.png b/docs/4.1/examples/screenshots/product.png
new file mode 100644
index 0000000000..1dfe454821
--- /dev/null
+++ b/docs/4.1/examples/screenshots/product.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/sign-in.png b/docs/4.1/examples/screenshots/sign-in.png
new file mode 100644
index 0000000000..8b3431de9c
--- /dev/null
+++ b/docs/4.1/examples/screenshots/sign-in.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/starter-template.png b/docs/4.1/examples/screenshots/starter-template.png
new file mode 100644
index 0000000000..436c452de1
--- /dev/null
+++ b/docs/4.1/examples/screenshots/starter-template.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/sticky-footer-navbar.png b/docs/4.1/examples/screenshots/sticky-footer-navbar.png
new file mode 100644
index 0000000000..9478901f6f
--- /dev/null
+++ b/docs/4.1/examples/screenshots/sticky-footer-navbar.png
Binary files differ
diff --git a/docs/4.1/examples/screenshots/sticky-footer.png b/docs/4.1/examples/screenshots/sticky-footer.png
new file mode 100644
index 0000000000..5a008a0ac3
--- /dev/null
+++ b/docs/4.1/examples/screenshots/sticky-footer.png
Binary files differ
diff --git a/docs/4.1/examples/sign-in/index.html b/docs/4.1/examples/sign-in/index.html
new file mode 100644
index 0000000000..0a4d90cbdc
--- /dev/null
+++ b/docs/4.1/examples/sign-in/index.html
@@ -0,0 +1,36 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Signin Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="signin.css" rel="stylesheet">
+ </head>
+
+ <body class="text-center">
+ <form class="form-signin">
+ <img class="mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
+ <h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
+ <label for="inputEmail" class="sr-only">Email address</label>
+ <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
+ <label for="inputPassword" class="sr-only">Password</label>
+ <input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
+ <div class="checkbox mb-3">
+ <label>
+ <input type="checkbox" value="remember-me"> Remember me
+ </label>
+ </div>
+ <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
+ <p class="mt-5 mb-3 text-muted">&copy; 2017-2018</p>
+ </form>
+ </body>
+</html>
diff --git a/docs/4.1/examples/sign-in/signin.css b/docs/4.1/examples/sign-in/signin.css
new file mode 100644
index 0000000000..90cc93e5b9
--- /dev/null
+++ b/docs/4.1/examples/sign-in/signin.css
@@ -0,0 +1,44 @@
+html,
+body {
+ height: 100%;
+}
+
+body {
+ display: -ms-flexbox;
+ display: flex;
+ -ms-flex-align: center;
+ align-items: center;
+ padding-top: 40px;
+ padding-bottom: 40px;
+ background-color: #f5f5f5;
+}
+
+.form-signin {
+ width: 100%;
+ max-width: 330px;
+ padding: 15px;
+ margin: auto;
+}
+.form-signin .checkbox {
+ font-weight: 400;
+}
+.form-signin .form-control {
+ position: relative;
+ box-sizing: border-box;
+ height: auto;
+ padding: 10px;
+ font-size: 16px;
+}
+.form-signin .form-control:focus {
+ z-index: 2;
+}
+.form-signin input[type="email"] {
+ margin-bottom: -1px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+.form-signin input[type="password"] {
+ margin-bottom: 10px;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
diff --git a/docs/4.1/examples/starter-template/index.html b/docs/4.1/examples/starter-template/index.html
new file mode 100644
index 0000000000..b016685988
--- /dev/null
+++ b/docs/4.1/examples/starter-template/index.html
@@ -0,0 +1,71 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Starter Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="starter-template.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
+ <a class="navbar-brand" href="#">Navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExampleDefault" aria-controls="navbarsExampleDefault" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="navbarsExampleDefault">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ <li class="nav-item dropdown">
+ <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
+ <div class="dropdown-menu" aria-labelledby="dropdown01">
+ <a class="dropdown-item" href="#">Action</a>
+ <a class="dropdown-item" href="#">Another action</a>
+ <a class="dropdown-item" href="#">Something else here</a>
+ </div>
+ </li>
+ </ul>
+ <form class="form-inline my-2 my-lg-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+
+ <main role="main" class="container">
+
+ <div class="starter-template">
+ <h1>Bootstrap starter template</h1>
+ <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
+ </div>
+
+ </main><!-- /.container -->
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/starter-template/starter-template.css b/docs/4.1/examples/starter-template/starter-template.css
new file mode 100644
index 0000000000..5f64cd294e
--- /dev/null
+++ b/docs/4.1/examples/starter-template/starter-template.css
@@ -0,0 +1,7 @@
+body {
+ padding-top: 5rem;
+}
+.starter-template {
+ padding: 3rem 1.5rem;
+ text-align: center;
+}
diff --git a/docs/4.1/examples/sticky-footer-navbar/index.html b/docs/4.1/examples/sticky-footer-navbar/index.html
new file mode 100644
index 0000000000..166c54522b
--- /dev/null
+++ b/docs/4.1/examples/sticky-footer-navbar/index.html
@@ -0,0 +1,69 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Sticky Footer Navbar Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="sticky-footer-navbar.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <header>
+ <!-- Fixed navbar -->
+ <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
+ <a class="navbar-brand" href="#">Fixed navbar</a>
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <ul class="navbar-nav mr-auto">
+ <li class="nav-item active">
+ <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href="#">Link</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link disabled" href="#">Disabled</a>
+ </li>
+ </ul>
+ <form class="form-inline mt-2 mt-md-0">
+ <input class="form-control mr-sm-2" type="text" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
+ </form>
+ </div>
+ </nav>
+ </header>
+
+ <!-- Begin page content -->
+ <main role="main" class="container">
+ <h1 class="mt-5">Sticky footer with fixed navbar</h1>
+ <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body &gt; .container</code>.</p>
+ <p>Back to <a href="../sticky-footer">the default sticky footer</a> minus the navbar.</p>
+ </main>
+
+ <footer class="footer">
+ <div class="container">
+ <span class="text-muted">Place sticky footer content here.</span>
+ </div>
+ </footer>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css b/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css
new file mode 100644
index 0000000000..07fd56a640
--- /dev/null
+++ b/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css
@@ -0,0 +1,37 @@
+/* Sticky footer styles
+-------------------------------------------------- */
+html {
+ position: relative;
+ min-height: 100%;
+}
+body {
+ /* Margin bottom by footer height */
+ margin-bottom: 60px;
+}
+.footer {
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ /* Set the fixed height of the footer here */
+ height: 60px;
+ line-height: 60px; /* Vertically center the text there */
+ background-color: #f5f5f5;
+}
+
+
+/* Custom page CSS
+-------------------------------------------------- */
+/* Not required for template or sticky footer method. */
+
+body > .container {
+ padding: 60px 15px 0;
+}
+
+.footer > .container {
+ padding-right: 15px;
+ padding-left: 15px;
+}
+
+code {
+ font-size: 80%;
+}
diff --git a/docs/4.1/examples/sticky-footer/index.html b/docs/4.1/examples/sticky-footer/index.html
new file mode 100644
index 0000000000..e00111c485
--- /dev/null
+++ b/docs/4.1/examples/sticky-footer/index.html
@@ -0,0 +1,34 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="icon" href="../../../../favicon.ico">
+
+ <title>Sticky Footer Template for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="sticky-footer.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <!-- Begin page content -->
+ <main role="main" class="container">
+ <h1 class="mt-5">Sticky footer</h1>
+ <p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
+ <p>Use <a href="../sticky-footer-navbar">the sticky footer with a fixed navbar</a> if need be, too.</p>
+ </main>
+
+ <footer class="footer">
+ <div class="container">
+ <span class="text-muted">Place sticky footer content here.</span>
+ </div>
+ </footer>
+ </body>
+</html>
diff --git a/docs/4.1/examples/sticky-footer/sticky-footer.css b/docs/4.1/examples/sticky-footer/sticky-footer.css
new file mode 100644
index 0000000000..ebe29104f4
--- /dev/null
+++ b/docs/4.1/examples/sticky-footer/sticky-footer.css
@@ -0,0 +1,28 @@
+/* Sticky footer styles
+-------------------------------------------------- */
+html {
+ position: relative;
+ min-height: 100%;
+}
+body {
+ margin-bottom: 60px; /* Margin bottom by footer height */
+}
+.footer {
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ height: 60px; /* Set the fixed height of the footer here */
+ line-height: 60px; /* Vertically center the text there */
+ background-color: #f5f5f5;
+}
+
+
+/* Custom page CSS
+-------------------------------------------------- */
+/* Not required for template or sticky footer method. */
+
+.container {
+ width: auto;
+ max-width: 680px;
+ padding: 0 15px;
+}
diff --git a/docs/4.1/examples/tooltip-viewport/index.html b/docs/4.1/examples/tooltip-viewport/index.html
new file mode 100644
index 0000000000..dae9001595
--- /dev/null
+++ b/docs/4.1/examples/tooltip-viewport/index.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="">
+ <meta name="author" content="">
+ <link rel="shortcut icon" href="../../../../favicon.ico">
+
+ <title>Tooltip Viewport Example for Bootstrap</title>
+
+ <!-- Bootstrap core CSS -->
+ <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
+
+ <!-- Custom styles for this template -->
+ <link href="tooltip-viewport.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+ <button type="button" class="btn btn-secondary float-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
+ <button type="button" class="btn btn-secondary tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
+ <button type="button" class="btn btn-secondary tooltip-right" title="This should be shifted down">Shift Down</button>
+
+ <button type="button" class="btn btn-secondary tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
+
+ <div class="container-viewport">
+ <button type="button" class="btn btn-secondary tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
+ <button type="button" class="btn btn-secondary tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
+
+ <button type="button" class="btn btn-secondary float-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
+
+ <button type="button" class="btn btn-secondary tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
+ </div>
+
+ <!-- Bootstrap core JavaScript
+ ================================================== -->
+ <!-- Placed at the end of the document so the pages load faster -->
+ <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
+ <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
+ <script src="../../../../assets/js/vendor/popper.min.js"></script>
+ <script src="../../../../dist/js/bootstrap.min.js"></script>
+ <script src="tooltip-viewport.js"></script>
+ </body>
+</html>
diff --git a/docs/4.1/examples/tooltip-viewport/tooltip-viewport.css b/docs/4.1/examples/tooltip-viewport/tooltip-viewport.css
new file mode 100644
index 0000000000..26aa2e3482
--- /dev/null
+++ b/docs/4.1/examples/tooltip-viewport/tooltip-viewport.css
@@ -0,0 +1,26 @@
+body {
+ height: 1200px;
+}
+.tooltip {
+ min-width: 250px;
+ max-width: 500px;
+}
+.tooltip .tooltip-inner {
+ min-width: 250px;
+ max-width: 500px;
+ min-height: 100px;
+ text-align: left;
+}
+.container-viewport {
+ position: absolute;
+ top: 100px;
+ right: 250px;
+ left: 250px;
+ height: 300px;
+ background-color: #eee;
+}
+.btn-bottom {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+}
diff --git a/docs/4.1/examples/tooltip-viewport/tooltip-viewport.js b/docs/4.1/examples/tooltip-viewport/tooltip-viewport.js
new file mode 100644
index 0000000000..dc75e18c63
--- /dev/null
+++ b/docs/4.1/examples/tooltip-viewport/tooltip-viewport.js
@@ -0,0 +1,32 @@
+$(function () {
+ 'use strict'
+
+ $('.tooltip-right').tooltip({
+ placement: 'right',
+ viewport: {
+ selector: 'body',
+ padding: 2
+ }
+ })
+ $('.tooltip-bottom').tooltip({
+ placement: 'bottom',
+ viewport: {
+ selector: 'body',
+ padding: 2
+ }
+ })
+ $('.tooltip-viewport-right').tooltip({
+ placement: 'right',
+ viewport: {
+ selector: '.container-viewport',
+ padding: 2
+ }
+ })
+ $('.tooltip-viewport-bottom').tooltip({
+ placement: 'bottom',
+ viewport: {
+ selector: '.container-viewport',
+ padding: 2
+ }
+ })
+})