0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00
Add callouts about using light colors ideally on a dark background
This commit is contained in:
Patrick H. Lauke 2020-11-03 07:44:42 +00:00 committed by GitHub
parent 5664e728b4
commit bbfd22f924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,11 @@ In need of a button, but not the hefty background colors they bring? Replace the
{% endcapture %}
{% include example.html content=example %}
{% capture callout %}
Some of the button styles use a relatively light foreground color, and should only be used on a dark background in order to have sufficient contrast.
{% endcapture %}
{% include callout.html content=callout type="info" %}
## Sizes
Fancy larger or smaller buttons? Add `.btn-lg` or `.btn-sm` for additional sizes.