Popovers

Use popovers to indicate extra content for your users when clicking on an element

Popover example

Use the following popover markup to indicate extra content to your users when clicking on certain elements:

<button type="button" class="btn btn-primary btn-sm mb-4 mr-4 mr-md-0" data-container="body" data-toggle="popover" data-placement="top" title="Popover on top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
    Popover on top
</button>

Popover placement

By specifying data-placement you can set the placement of the popover when it shows up.

<button type="button" class="btn btn-primary btn-sm mb-4 mr-4 mr-md-2" data-container="body" data-toggle="popover" data-placement="top" title="Popover on top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
    Popover on top
</button>
<button type="button" class="btn btn-primary btn-sm mb-4 mr-4 mr-md-2" data-container="body" data-toggle="popover" data-placement="left" title="Popover on left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
    Popover on left
</button>
<button type="button" class="btn btn-primary btn-sm mb-4 mr-4 mr-md-2" data-container="body" data-toggle="popover" data-placement="bottom" title="Popover on bottom" data-content="Vivamus
        sagittis lacus vel augue laoreet rutrum faucibus.">
    Popover on bottom
</button>
<button type="button" class="btn btn-primary btn-sm mb-4" data-container="body" data-toggle="popover" data-placement="right" title="Popover on right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
    Popover on right
</button>