aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrn2778 <[email protected]>2021-05-06 19:10:23 -0400
committerGitHub <[email protected]>2021-05-06 16:10:23 -0700
commiteb73a2fc6f252a6d42111dd570909ac31d81d688 (patch)
tree3279be5831aa66acd6feef4522e57493d6c2dfdc
parent9ad9ca3537b9c192d132045838d5a3b5b1b1a2b8 (diff)
downloadbootstrap-eb73a2fc6f252a6d42111dd570909ac31d81d688.tar.xz
bootstrap-eb73a2fc6f252a6d42111dd570909ac31d81d688.zip
Fix unnecessary classes (#33850)
* Fix unnecessary classes * Removed unnecessary div Co-authored-by: Mark Otto <[email protected]> * Updated centered hero primary button classes Co-authored-by: Mark Otto <[email protected]>
-rw-r--r--site/content/docs/5.0/examples/heroes/index.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/site/content/docs/5.0/examples/heroes/index.html b/site/content/docs/5.0/examples/heroes/index.html
index 4d97292a8..ef621fd50 100644
--- a/site/content/docs/5.0/examples/heroes/index.html
+++ b/site/content/docs/5.0/examples/heroes/index.html
@@ -15,7 +15,7 @@ body_class: ""
<div class="col-lg-6 mx-auto">
<p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p>
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
- <button type="button" class="btn btn-primary btn-lg px-4 me-sm-3">Primary button</button>
+ <button type="button" class="btn btn-primary btn-lg px-4 gap-3">Primary button</button>
<button type="button" class="btn btn-outline-secondary btn-lg px-4">Secondary</button>
</div>
</div>
@@ -100,10 +100,8 @@ body_class: ""
<button type="button" class="btn btn-outline-secondary btn-lg px-4">Default</button>
</div>
</div>
- <div class="col-lg-4 offset-lg-1 p-0 position-relative overflow-hidden shadow-lg">
- <div class="position-lg-absolute top-0 left-0 overflow-hidden">
- <img class="d-block rounded-lg-3" src="bootstrap-docs.png" alt="" width="720">
- </div>
+ <div class="col-lg-4 offset-lg-1 p-0 overflow-hidden shadow-lg">
+ <img class="rounded-lg-3" src="bootstrap-docs.png" alt="" width="720">
</div>
</div>
</div>