Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (18 loc) · 810 Bytes

tooltips.md

File metadata and controls

22 lines (18 loc) · 810 Bytes

Tooltips

Documentation and examples for adding custom tooltips with CSS and C using data-attributes for local title storage.

Examples

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

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