Popover example 4
From Bootstrap for MediaWiki
| Component | ||
|---|---|---|
| Name | Popover | |
| Description | Popover in light mode and dark mode | |
| Provider | BootstrapComponents | |
| 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
<bootstrap_popover text="Click here!" header="Popover title">Some content in the popover.</bootstrap_popover>
- Result
Dark mode
The code is the same as for light mode, see Color modes.
- Result
Click here!
