diff options
| author | Mark Otto <[email protected]> | 2021-09-14 06:05:07 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-14 15:05:07 +0300 |
| commit | 01036ff2ef4ded5e1e5601f9d8a0f2a1d9c6b866 (patch) | |
| tree | 2c692a1f9f784c21bc9fecbd0d6f0b0ce16d03ab | |
| parent | f4a1a35cf245566018b109af7b56d69cd6f13975 (diff) | |
| download | bootstrap-01036ff2ef4ded5e1e5601f9d8a0f2a1d9c6b866.tar.xz bootstrap-01036ff2ef4ded5e1e5601f9d8a0f2a1d9c6b866.zip | |
Update description of active buttons (#34966)
| -rw-r--r-- | site/content/docs/4.6/components/buttons.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/4.6/components/buttons.md b/site/content/docs/4.6/components/buttons.md index 9df1fa12e..5fdc3b364 100644 --- a/site/content/docs/4.6/components/buttons.md +++ b/site/content/docs/4.6/components/buttons.md @@ -81,7 +81,7 @@ Create block level buttons—those that span the full width of a parent—by add ## Active state -Buttons will appear pressed (with a darker background, darker border, and inset shadow) when active. **There's no need to add a class to `<button>`s as they use a pseudo-class**. However, you can still force the same active appearance with `.active` (and include the <code>aria-pressed="true"</code> attribute) should you need to replicate the state programmatically. +Buttons will appear pressed when active with a darker background, darker border, and, when shadows are enabled, an inset shadow. **There's no need to add a class to `<button>`s as they use a pseudo-class**. However, you can still force the same active appearance with `.active` (and include the <code>aria-pressed="true"</code> attribute) should you need to replicate the state programmatically. {{< example >}} <a href="#" class="btn btn-primary btn-lg active" role="button" aria-pressed="true">Primary link</a> |
