aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2023-03-10 12:35:58 -0600
committerGitHub <[email protected]>2023-03-10 12:35:58 -0600
commit6f18ad9d6960b009da5054530584547c12fb0eff (patch)
treeec4145274748d4c2a987aba5c8f7faba048b822f
parent9c0b2be4693b2f6a106b4afdcd68aceb65d72be9 (diff)
downloadbootstrap-6f18ad9d6960b009da5054530584547c12fb0eff.tar.xz
bootstrap-6f18ad9d6960b009da5054530584547c12fb0eff.zip
Update buttons.md (#38169)
* Update buttons.md Updates the buttons documentation to refer to the button styles as variants as opposed to "predefined styles" as that language was previously troublesome elsewhere in our docs, and variants makes more sense. * Update site/content/docs/5.3/components/buttons.md Co-authored-by: Julien Déramond <[email protected]> --------- Co-authored-by: Julien Déramond <[email protected]>
-rw-r--r--site/content/docs/5.3/components/buttons.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/site/content/docs/5.3/components/buttons.md b/site/content/docs/5.3/components/buttons.md
index 8d9ff0201..ae58fca9a 100644
--- a/site/content/docs/5.3/components/buttons.md
+++ b/site/content/docs/5.3/components/buttons.md
@@ -14,15 +14,15 @@ Bootstrap has a base `.btn` class that sets up basic styles such as padding and
<button type="button" class="btn">Base class</button>
{{< /example >}}
-The `.btn` class is intended to be used in conjunction with our additional predefined button styles, or to serve as a basis for your own custom styles.
+The `.btn` class is intended to be used in conjunction with our button variants, or to serve as a basis for your own custom styles.
{{< callout warning >}}
If you are using the `.btn` class on its own, remember to at least define some explicit `:focus` and/or `:focus-visible` styles.
{{< /callout >}}
-## Predefined styles
+## Variants
-Bootstrap includes several predefined button styles, each serving its own semantic purpose, with a few extras thrown in for more control.
+Bootstrap includes several button variants, each serving its own semantic purpose, with a few extras thrown in for more control.
{{< example >}}
{{< buttons.inline >}}