]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: use consistent HTML elements in Utilities > Background page (#39519)
authorJulien Déramond <juderamond@gmail.com>
Fri, 22 Dec 2023 06:14:15 +0000 (07:14 +0100)
committerGitHub <noreply@github.com>
Fri, 22 Dec 2023 06:14:15 +0000 (07:14 +0100)
site/content/docs/5.3/utilities/background.md

index 8f1ca5dcad8b89e49048238625276ca7c8d8a2d2..1239261b435cf57c006ea335bdbb84e217683316 100644 (file)
@@ -25,9 +25,8 @@ Background utilities like `.bg-*` that generated from our original `$theme-color
 <div class="p-3 mb-2 bg-{{ .name }}-subtle text-{{ .name }}-emphasis">.bg-{{ .name }}-subtle</div>
 {{- end -}}
 {{< /colors.inline >}}
-<p class="p-3 mb-2 bg-body-secondary">.bg-body-secondary</p>
-<p class="p-3 mb-2 bg-body-tertiary">.bg-body-tertiary</p>
-
+<div class="p-3 mb-2 bg-body-secondary">.bg-body-secondary</div>
+<div class="p-3 mb-2 bg-body-tertiary">.bg-body-tertiary</div>
 <div class="p-3 mb-2 bg-body text-body">.bg-body</div>
 <div class="p-3 mb-2 bg-black text-white">.bg-black</div>
 <div class="p-3 mb-2 bg-white text-dark">.bg-white</div>