Tooltips

Documentation and examples for adding custom Bootstrap tooltips with CSS and JavaScript using CSS3 for animations and data-attributes for local title storage.

Examples

Hover over the buttons below to see the four tooltips directions: top, right, bottom, and left.

 <!-- tooltip on top -->
  <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-placement="top" title="Tooltip on top">
    Tooltip on top
  </button>
  <!-- tooltip on right -->
  <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-placement="right" title="Tooltip on right">
    Tooltip on right
  </button>
  <!-- tooltip on bottom -->
  <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">
    Tooltip on bottom
  </button>
  <!-- tooltip on left -->
  <button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-placement="left" title="Tooltip on left">
    Tooltip on left
  </button>