]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update description of active buttons (#34966)
authorMark Otto <markd.otto@gmail.com>
Tue, 14 Sep 2021 12:05:07 +0000 (06:05 -0600)
committerGitHub <noreply@github.com>
Tue, 14 Sep 2021 12:05:07 +0000 (15:05 +0300)
site/content/docs/4.6/components/buttons.md

index 9df1fa12e9403b644ee3070962f548466cb1313d..5fdc3b36459c9cc24b8124fd5c8354b05550a261 100644 (file)
@@ -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>