mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Docs: change wording of single/split danger buttons (#40689)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
parent
8c10ee828f
commit
4e954ea332
@ -126,7 +126,7 @@ The best part is you can do this with any button variant, too:
|
|||||||
<!-- Example single danger button -->
|
<!-- Example single danger button -->
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
<button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
Action
|
Danger
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a class="dropdown-item" href="#">Action</a></li>
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
||||||
@ -228,7 +228,7 @@ We use this extra class to reduce the horizontal `padding` on either side of the
|
|||||||
```html
|
```html
|
||||||
<!-- Example split danger button -->
|
<!-- Example split danger button -->
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button type="button" class="btn btn-danger">Action</button>
|
<button type="button" class="btn btn-danger">Danger</button>
|
||||||
<button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
|
<button type="button" class="btn btn-danger dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
<span class="visually-hidden">Toggle Dropdown</span>
|
<span class="visually-hidden">Toggle Dropdown</span>
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user