diff --git a/docs/components/buttons.md b/docs/components/buttons.md index e0f6796b92..95e3a14c22 100644 --- a/docs/components/buttons.md +++ b/docs/components/buttons.md @@ -54,6 +54,19 @@ When using button classes on `` elements that are used to trigger in-page fun {% endexample %} +## Outline buttons + +In need of a button, but not the hefty background colors they bring? Add the `.btn-outline` modifier class to remove all background images and colors on any button. + +{% example html %} + + + + + +{% endexample %} + + ## Sizes Fancy larger or smaller buttons? Add `.btn-lg`, `.btn-sm`, or `.btn-xs` for additional sizes. diff --git a/scss/_buttons.scss b/scss/_buttons.scss index 12805dd2e3..6a08678622 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -82,6 +82,12 @@ fieldset[disabled] a.btn { @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); } +// Remove all backgrounds +.btn-outline { + background-color: $body-bg; + background-image: transparent; +} + // // Link buttons