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:
authorMark Otto <markdotto@gmail.com>2022-05-09 20:04:32 +0300
committerMark Otto <markdotto@gmail.com>2022-05-09 20:04:32 +0300
commitbc7484744e7474af95cffcf8117df4fd53e0d813 (patch)
tree821d81947e392ac20c1f3bdd539d1fbd3916eed9
parent4207544c0e392ba375d584c993641d7f410d2fa6 (diff)
Start work on some new snippet examplesmore-snippets-examples
-rw-r--r--site/content/docs/5.2/examples/badges/index.html158
-rw-r--r--site/content/docs/5.2/examples/breadcrumbs/index.html160
-rw-r--r--site/content/docs/5.2/examples/buttons/index.html100
-rw-r--r--site/content/docs/5.2/examples/jumbotrons/index.html89
4 files changed, 507 insertions, 0 deletions
diff --git a/site/content/docs/5.2/examples/badges/index.html b/site/content/docs/5.2/examples/badges/index.html
new file mode 100644
index 0000000000..62c65cb6f5
--- /dev/null
+++ b/site/content/docs/5.2/examples/badges/index.html
@@ -0,0 +1,158 @@
+---
+layout: examples
+title: Badges
+extra_css:
+ - "badges.css"
+body_class: ""
+---
+
+<style>
+ .text-warning { color: #997404 !important; }
+ .text-info { color: #087990 !important; }
+
+ .badge > a {
+ color: inherit;
+ }
+</style>
+
+<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <symbol id="x-circle-fill" viewBox="0 0 16 16">
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>
+ </symbol>
+</svg>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge text-bg-primary rounded-pill">Primary</span>
+ <span class="badge text-bg-secondary rounded-pill">Secondary</span>
+ <span class="badge text-bg-success rounded-pill">Success</span>
+ <span class="badge text-bg-danger rounded-pill">Danger</span>
+ <span class="badge text-bg-warning rounded-pill">Warning</span>
+ <span class="badge text-bg-info rounded-pill">Info</span>
+ <span class="badge text-bg-dark rounded-pill">Light</span>
+ <span class="badge text-bg-dark rounded-pill">Dark</span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge text-primary bg-primary bg-opacity-10 rounded-pill">Primary</span>
+ <span class="badge text-secondary bg-secondary bg-opacity-10 rounded-pill">Secondary</span>
+ <span class="badge text-success bg-success bg-opacity-10 rounded-pill">Success</span>
+ <span class="badge text-danger bg-danger bg-opacity-10 rounded-pill">Danger</span>
+ <span class="badge text-warning bg-warning bg-opacity-10 rounded-pill">Warning</span>
+ <span class="badge text-info bg-info bg-opacity-10 rounded-pill">Info</span>
+ <span class="badge text-dark bg-light bg-opacity-10 rounded-pill">Light</span>
+ <span class="badge text-dark bg-dark bg-opacity-10 rounded-pill">Dark</span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">Primary</span>
+ <span class="badge text-secondary bg-secondary bg-opacity-10 border border-secondary border-opacity-25 rounded-pill">Secondary</span>
+ <span class="badge text-success bg-success bg-opacity-10 border border-success border-opacity-25 rounded-pill">Success</span>
+ <span class="badge text-danger bg-danger bg-opacity-10 border border-danger border-opacity-25 rounded-pill">Danger</span>
+ <span class="badge text-warning bg-warning bg-opacity-10 border border-warning border-opacity-25 rounded-pill">Warning</span>
+ <span class="badge text-info bg-info bg-opacity-10 border border-info border-opacity-25 rounded-pill">Info</span>
+ <span class="badge text-dark bg-light bg-opacity-10 border border-dark border-opacity-25 rounded-pill">Light</span>
+ <span class="badge text-dark bg-dark bg-opacity-10 border border-dark border-opacity-25 rounded-pill">Dark</span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge d-flex align-items-center p-1 pe-2 text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Primary
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-secondary bg-secondary bg-opacity-10 border border-secondary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Secondary
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-success bg-success bg-opacity-10 border border-success border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Success
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-danger bg-danger bg-opacity-10 border border-danger border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Danger
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-warning bg-warning bg-opacity-10 border border-warning border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Warning
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-info bg-info bg-opacity-10 border border-info border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Info
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-light bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Light
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-dark bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">Dark
+ </span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge d-flex p-2 align-items-center text-bg-primary rounded-pill">
+ <span class="px-1">Primary</span>
+ <a href="#"><svg class="bi ms-1" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex p-2 align-items-center text-primary bg-primary bg-opacity-10 rounded-pill">
+ <span class="px-1">Primary</span>
+ <a href="#"><svg class="bi ms-1" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex p-2 align-items-center text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">
+ <span class="px-1">Primary</span>
+ <a href="#"><svg class="bi ms-1" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <span class="badge d-flex align-items-center p-1 pe-2 text-primary bg-primary bg-opacity-10 border border-primary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Primary
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-secondary bg-secondary bg-opacity-10 border border-secondary border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Secondary
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-success bg-success bg-opacity-10 border border-success border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Success
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-danger bg-danger bg-opacity-10 border border-danger border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Danger
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-warning bg-warning bg-opacity-10 border border-warning border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Warning
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-info bg-info bg-opacity-10 border border-info border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Info
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-light bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Light
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+ <span class="badge d-flex align-items-center p-1 pe-2 text-dark bg-dark bg-opacity-10 border border-dark border-opacity-25 rounded-pill">
+ <img class="rounded-circle me-1" width="24" height="24" src="https://github.com/mdo.png" alt="">
+ Dark
+ <span class="vr mx-2"></span>
+ <a href="#"><svg class="bi" width="16" height="16"><use xlink:href="#x-circle-fill"/></svg></a>
+ </span>
+</div>
diff --git a/site/content/docs/5.2/examples/breadcrumbs/index.html b/site/content/docs/5.2/examples/breadcrumbs/index.html
new file mode 100644
index 0000000000..03a9ce04fa
--- /dev/null
+++ b/site/content/docs/5.2/examples/breadcrumbs/index.html
@@ -0,0 +1,160 @@
+---
+layout: examples
+title: Breadcrumbs
+extra_css:
+ - "breadcrumbs.css"
+body_class: ""
+---
+
+<style>
+
+</style>
+
+<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <symbol id="arrow-right-short" viewBox="0 0 16 16">
+ <path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/>
+ </symbol>
+ <symbol id="chat-fill" viewBox="0 0 16 16">
+ <path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/>
+ </symbol>
+ <symbol id="house-door-fill" viewBox="0 0 16 16">
+ <path d="M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5z"/>
+ </symbol>
+ <symbol id="x-circle-fill" viewBox="0 0 16 16">
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>
+ </symbol>
+ <symbol id="x-lg" viewBox="0 0 16 16">
+ <path fill-rule="evenodd" d="M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"/>
+ <path fill-rule="evenodd" d="M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"/>
+ </symbol>
+</svg>
+
+<div class="container my-5">
+ <nav aria-label="breadcrumb">
+ <ol class="breadcrumb p-3 bg-light rounded-3">
+ <li class="breadcrumb-item"><a href="#">Home</a></li>
+ <li class="breadcrumb-item"><a href="#">Library</a></li>
+ <li class="breadcrumb-item active" aria-current="page">Data</li>
+ </ol>
+ </nav>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="container my-5">
+ <nav aria-label="breadcrumb">
+ <ol class="breadcrumb p-3 bg-light rounded-3">
+ <li class="breadcrumb-item">
+ <a class="link-dark" href="#">
+ <svg class="bi" width="16" height="16"><use xlink:href="#house-door-fill"></use></svg>
+ <span class="visually-hidden">Home</span>
+ </a>
+ </li>
+ <li class="breadcrumb-item">
+ <a class="link-dark fw-semibold text-decoration-none" href="#">Library</a>
+ </li>
+ <li class="breadcrumb-item active" aria-current="page">
+ Data
+ </li>
+ </ol>
+ </nav>
+</div>
+
+<div class="b-example-divider"></div>
+
+<style>
+ .breadcrumb-chevron {
+ --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
+ gap: .5rem;
+ }
+ .breadcrumb-chevron .breadcrumb-item {
+ display: flex;
+ align-items: center;
+ gap: inherit;
+ padding-left: 0;
+ line-height: 1;
+ }
+ .breadcrumb-chevron .breadcrumb-item::before {
+ float: none;
+ width: 1rem;
+ height: 1rem;
+ gap: inherit;
+ }
+</style>
+
+<div class="container my-5">
+ <nav aria-label="breadcrumb">
+ <ol class="breadcrumb breadcrumb-chevron p-3 bg-light rounded-3">
+ <li class="breadcrumb-item">
+ <a class="link-dark" href="#">
+ <svg class="bi" width="16" height="16"><use xlink:href="#house-door-fill"></use></svg>
+ <span class="visually-hidden">Home</span>
+ </a>
+ </li>
+ <li class="breadcrumb-item">
+ <a class="link-dark fw-semibold text-decoration-none" href="#">Library</a>
+ </li>
+ <li class="breadcrumb-item active" aria-current="page">
+ Data
+ </li>
+ </ol>
+ </nav>
+</div>
+
+<div class="b-example-divider"></div>
+
+<style>
+ .breadcrumb-custom .breadcrumb-item {
+ position: relative;
+ padding: .75rem 3rem;
+ flex-grow: 1;
+ }
+ .breadcrumb-custom .breadcrumb-item::before {
+ display: none;
+ }
+ .breadcrumb-custom .breadcrumb-item::after {
+ position: absolute;
+ top: 50%;
+ right: -25px;
+ z-index: 1;
+ display: inline-block;
+ width: 50px;
+ height: 50px;
+ margin-top: -25px;
+ content: "";
+ background-color: var(--bs-gray-100);
+ border-top-right-radius: .5rem;
+ transform: scale(0.707) rotate(45deg);
+ box-shadow: 1px -1px var(--bs-border-color);
+ }
+ .breadcrumb-custom .breadcrumb-item:first-child {
+ padding-left: 1.5rem;
+ }
+ .breadcrumb-custom .breadcrumb-item:last-child {
+ padding-right: 1.5rem;
+ }
+ .breadcrumb-custom .breadcrumb-item:last-child::after {
+ display: none;
+ }
+</style>
+
+<div class="container my-5">
+ <nav aria-label="breadcrumb">
+ <ol class="breadcrumb breadcrumb-custom overflow-hidden text-center bg-light border rounded-3">
+ <li class="breadcrumb-item">
+ <a class="link-dark fw-semibold text-decoration-none" href="#">
+ <svg class="bi" width="16" height="16"><use xlink:href="#house-door-fill"></use></svg>
+ Home
+ </a>
+ </li>
+ <li class="breadcrumb-item">
+ <a class="link-dark fw-semibold text-decoration-none" href="#">Library</a>
+ </li>
+ <li class="breadcrumb-item active" aria-current="page">
+ Data
+ </li>
+ </ol>
+ </nav>
+</div>
+
+<div class="b-example-divider"></div>
diff --git a/site/content/docs/5.2/examples/buttons/index.html b/site/content/docs/5.2/examples/buttons/index.html
new file mode 100644
index 0000000000..583cd67265
--- /dev/null
+++ b/site/content/docs/5.2/examples/buttons/index.html
@@ -0,0 +1,100 @@
+---
+layout: examples
+title: Buttons
+extra_css:
+ - "buttons.css"
+body_class: ""
+---
+
+<style>
+
+</style>
+
+<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <symbol id="arrow-right-short" viewBox="0 0 16 16">
+ <path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/>
+ </symbol>
+ <symbol id="chat-fill" viewBox="0 0 16 16">
+ <path d="M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z"/>
+ </symbol>
+ <symbol id="x-circle-fill" viewBox="0 0 16 16">
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>
+ </symbol>
+ <symbol id="x-lg" viewBox="0 0 16 16">
+ <path fill-rule="evenodd" d="M13.854 2.146a.5.5 0 0 1 0 .708l-11 11a.5.5 0 0 1-.708-.708l11-11a.5.5 0 0 1 .708 0Z"/>
+ <path fill-rule="evenodd" d="M2.146 2.146a.5.5 0 0 0 0 .708l11 11a.5.5 0 0 0 .708-.708l-11-11a.5.5 0 0 0-.708 0Z"/>
+ </symbol>
+</svg>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <button class="btn btn-primary rounded-pill px-3" type="button">Primary</button>
+ <button class="btn btn-secondary rounded-pill px-3" type="button">Secondary</button>
+ <button class="btn btn-success rounded-pill px-3" type="button">Success</button>
+ <button class="btn btn-danger rounded-pill px-3" type="button">Danger</button>
+ <button class="btn btn-warning rounded-pill px-3" type="button">Warning</button>
+ <button class="btn btn-info rounded-pill px-3" type="button">Info</button>
+ <button class="btn btn-light rounded-pill px-3" type="button">Light</button>
+ <button class="btn btn-dark rounded-pill px-3" type="button">Dark</button>
+ <button class="btn btn-link rounded-pill px-3" type="button">Link</button>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="col-lg-6 col-xxl-4 my-5 mx-auto">
+ <div class="d-grid gap-2">
+ <button class="btn btn-outline-secondary" type="button">Secondary action</button>
+ <button class="btn btn-primary" type="button">Primary action</button>
+ </div>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <button class="btn btn-primary d-inline-flex align-items-center" type="button">
+ Primary icon
+ <svg class="bi ms-1" width="20" height="20"><use xlink:href="#arrow-right-short"/></svg>
+ </button>
+ <button class="btn btn-outline-secondary d-inline-flex align-items-center" type="button">
+ Secondary icon
+ <svg class="bi ms-1" width="20" height="20"><use xlink:href="#arrow-right-short"/></svg>
+ </button>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center py-5">
+ <button class="btn btn-primary" type="button" disabled>
+ <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
+ <span class="visually-hidden">Loading...</span>
+ </button>
+ <button class="btn btn-primary" type="button" disabled>
+ <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
+ Loading...
+ </button>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="d-flex gap-2 justify-content-center pt-5 pb-4">
+ <button class="btn btn-primary rounded-circle p-2 lh-1" type="button">
+ <svg class="bi" width="16" height="16"><use xlink:href="#x-lg"/></svg>
+ <span class="visually-hidden">Dismiss</span>
+ </button>
+ <button class="btn btn-outline-primary rounded-circle p-2 lh-1" type="button">
+ <svg class="bi" width="16" height="16"><use xlink:href="#x-lg"/></svg>
+ <span class="visually-hidden">Dismiss</span>
+ </button>
+</div>
+
+<div class="d-flex gap-2 justify-content-center pb-5">
+ <button class="btn btn-primary rounded-circle p-3 lh-1" type="button">
+ <svg class="bi" width="24" height="24"><use xlink:href="#x-lg"/></svg>
+ <span class="visually-hidden">Dismiss</span>
+ </button>
+ <button class="btn btn-outline-primary rounded-circle p-3 lh-1" type="button">
+ <svg class="bi" width="24" height="24"><use xlink:href="#x-lg"/></svg>
+ <span class="visually-hidden">Dismiss</span>
+ </button>
+</div>
+
+<div class="b-example-divider"></div>
diff --git a/site/content/docs/5.2/examples/jumbotrons/index.html b/site/content/docs/5.2/examples/jumbotrons/index.html
new file mode 100644
index 0000000000..688a2ba435
--- /dev/null
+++ b/site/content/docs/5.2/examples/jumbotrons/index.html
@@ -0,0 +1,89 @@
+---
+layout: examples
+title: Jumbotrons
+extra_css:
+ - "jumbotrons.css"
+body_class: ""
+---
+
+<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
+ <symbol id="bootstrap" viewBox="0 0 118 94">
+ <title>Bootstrap</title>
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z"></path>
+ </symbol>
+ <symbol id="arrow-right-short" viewBox="0 0 16 16">
+ <path fill-rule="evenodd" d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"/>
+ </symbol>
+ <symbol id="check2-circle" viewBox="0 0 16 16">
+ <path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0z"/>
+ <path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/>
+ </symbol>
+ <symbol id="x-circle-fill" viewBox="0 0 16 16">
+ <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"/>
+ </symbol>
+</svg>
+
+<style>
+ .border-dashed { --bs-border-style: dashed; }
+</style>
+
+<div class="container my-5">
+ <div class="p-5 text-center bg-light rounded-3">
+ <svg class="bi mt-4 mb-3" style="color: var(--bs-indigo);" width="100" height="100"><use xlink:href="#bootstrap"/></svg>
+ <h1>Jumbotron with icon</h1>
+ <p class="col-lg-8 mx-auto fs-5 text-muted">
+ This is a custom jumbotron featuring an SVG image at the top, some longer text that wraps early thanks to a responsive <code>.col-*</code> class, and a customized call to action.
+ </p>
+ <div class="d-inline-flex gap-2 mb-5">
+ <button class="d-inline-flex align-items-center btn btn-primary btn-lg px-4 rounded-pill" type="button">
+ Call to action
+ <svg class="bi ms-2" width="24" height="24"><use xlink:href="#arrow-right-short"/></svg>
+ </button>
+ <button class="btn btn-outline-secondary btn-lg px-4 rounded-pill" type="button">
+ Secondary link
+ </button>
+ </div>
+ </div>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="container my-5">
+ <div class="position-relative p-5 text-center text-muted bg-body border border-dashed rounded-5">
+ <button type="button" class="position-absolute top-0 end-0 p-3 m-3 btn-close bg-secondary bg-opacity-10 rounded-pill" aria-label="Close"></button>
+ <svg class="bi mt-5 mb-3" width="48" height="48"><use xlink:href="#check2-circle"/></svg>
+ <h1>Placeholder jumbotron</h1>
+ <p class="col-lg-6 mx-auto mb-4">
+ This faded back jumbotron is useful for placeholder content. It's also a great way to add a bit of context to a page or section when no content is available and to encourage visitors to take a specific action.
+ </p>
+ <button class="btn btn-primary px-5 mb-5" type="button">
+ Call to action
+ </button>
+ </div>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="my-5">
+ <div class="p-5 text-center bg-light">
+ <div class="container py-5">
+ <h1>Full-width jumbotron</h1>
+ <p class="col-lg-8 mx-auto lead">
+ This takes the basic jumbotron above and makes its background edge-to-edge with a <code>.container</code> inside to align content. Similar to above, it's been recreated with built-in grid and utility classes.
+ </p>
+ </div>
+ </div>
+</div>
+
+<div class="b-example-divider"></div>
+
+<div class="container my-5">
+ <div class="p-5 text-center bg-light rounded-3">
+ <h1>Basic jumbotron</h1>
+ <p class="lead">
+ This is a simple Bootstrap jumbotron that sits within a <code>.container</code>, recreated with built-in utility classes.
+ </p>
+ </div>
+</div>
+
+<div class="b-example-divider"></div>