2.290539 ETH / 22393.74 USD

Examples

Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left. Directions are mirrored when using Bootstrap in RTL.

Code Example
    <button type="button" class="btn btn-nmw btn-primary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">        Tooltip on top      </button>      <button type="button" class="btn btn-nmw btn-primary" data-bs-toggle="tooltip" data-bs-placement="right" title="Tooltip on right">        Tooltip on right      </button>      <button type="button" class="btn btn-nmw btn-primary" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">        Tooltip on bottom      </button>      <button type="button" class="btn btn-nmw btn-primary" data-bs-toggle="tooltip" data-bs-placement="left" title="Tooltip on left">        Tooltip on left      </button>      
Disabled elements

Elements with the disabled attribute aren’t interactive, meaning users cannot focus, hover, or click them to trigger a tooltip (or popover). As a workaround, you’ll want to trigger the tooltip from a wrapper <div> or <span>, ideally made keyboard-focusable using tabindex="0".

Code Example
    <span class="d-inline-block" tabindex="0" data-bs-toggle="tooltip" title="Disabled tooltip">        <button class="btn btn-nmw btn-primary" type="button" disabled>Disabled button</button>    </span>