mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 17:11:48 +02:00
Doc: use .text-bg-{color}
for all badges
This commit is contained in:
committed by
Mark Otto
parent
dac60074dc
commit
f7426c08e7
@@ -13,12 +13,12 @@ Badges scale to match the size of the immediate parent element by using relative
|
||||
### Headings
|
||||
|
||||
{{< example >}}
|
||||
<h1>Example heading <span class="badge bg-secondary">New</span></h1>
|
||||
<h2>Example heading <span class="badge bg-secondary">New</span></h2>
|
||||
<h3>Example heading <span class="badge bg-secondary">New</span></h3>
|
||||
<h4>Example heading <span class="badge bg-secondary">New</span></h4>
|
||||
<h5>Example heading <span class="badge bg-secondary">New</span></h5>
|
||||
<h6>Example heading <span class="badge bg-secondary">New</span></h6>
|
||||
<h1>Example heading <span class="badge text-bg-secondary">New</span></h1>
|
||||
<h2>Example heading <span class="badge text-bg-secondary">New</span></h2>
|
||||
<h3>Example heading <span class="badge text-bg-secondary">New</span></h3>
|
||||
<h4>Example heading <span class="badge text-bg-secondary">New</span></h4>
|
||||
<h5>Example heading <span class="badge text-bg-secondary">New</span></h5>
|
||||
<h6>Example heading <span class="badge text-bg-secondary">New</span></h6>
|
||||
{{< /example >}}
|
||||
|
||||
### Buttons
|
||||
|
Reference in New Issue
Block a user