Button group example 2
From Bootstrap for MediaWiki
| Component | ||
|---|---|---|
| Name | Button group | |
| Description | Button group in light mode and dark mode | |
| Provider | Skin | |
| Note | Dark mode needs the CSS marked "Bootstrap dark mode" on MediaWiki:Common.css, because the Chameleon skin leaves out Bootstrap's dark mode. | |
| Reference | getbootstrap.com - color modes | |
| Styling | For all possible color styles and corresponding examples, see colors. | |
Light mode
- Code
<div class="btn-group" role="group" aria-label="Skins"><!--
-->{{#bootstrap_button: Chameleon |color=primary |outline }}<!--
-->{{#bootstrap_button: Medik |color=primary |outline }}<!--
-->{{#bootstrap_button: Tweeki |color=primary |outline }}<!--
--></div>
- Result
Dark mode
The code is the same as for light mode, see Color modes.
- Result
