Users need additional, potentially optional information on demand.
Tooltips provide information when an element is hovered over.
Use tooltips for:
Standard tooltip:
Light tooltip (for dark interfaces):
<div class="tooltip fade in right">
<div class="tooltip-inner">I'm a tooltip!</div>
<div class="tooltip-arrow"></div>
</div>
<div class="tooltip tooltip-light fade in right">
<div class="tooltip-inner">I'm a light tooltip!</div>
<div class="tooltip-arrow"></div>
</div>
Tooltips can be positioned either above, below, to the left, or to the right of target element. In many situations, tooltips should be positioned dynamically based on the available space around the target element.
The content of a tooltip can vary. It’s best to keep it to a few words.