Answers for "bootstrap tooltip on span element"

2

bootstrap tooltip

$(function () {
  $('[data-toggle="tooltip"]').tooltip()
})
Posted by: Guest on October-11-2020
0

bootstrap tooltip

<!-- Bootstrap 5 Tooltips -->
<button
   type="button"
   class="btn btn-secondary"
   data-bs-toggle="tooltip"
   data-bs-placement="top"
   title="Tooltip on top"
>
   Tooltip on top
</button>
<button
   type="button"
   class="btn btn-secondary"
   data-bs-toggle="tooltip"
   data-bs-placement="right"
   title="Tooltip on right"
>
   Tooltip on right
</button>
<button
   type="button"
   class="btn btn-secondary"
   data-bs-toggle="tooltip"
   data-bs-placement="bottom"
   title="Tooltip on bottom"
>
   Tooltip on bottom
</button>
<button
   type="button"
   class="btn btn-secondary"
   data-bs-toggle="tooltip"
   data-bs-placement="left"
   title="Tooltip on left"
>
   Tooltip on left
</button>
Posted by: Guest on March-02-2021

Browse Popular Code Answers by Language