Tooltips
These modular elements can be readily used and customized across pages and in different blocks.
Explore all of Stack's modular elements
at the
Element Index Page →
Tooltip Markup
Tooltips provide a useful way to add some additional information to an element via a small popup that triggers when the element is hovered on. Simply place a data-tooltip attribute on the element with the tooltip's text inside, as below:
<span data-tooltip="Tooltip text here">I will show a tooltip when hovered</span>