coverup

Tooltip

A hover hint using one attribute, no JS.

Tooltip

<div class="cluster">
  <button class="btn btn-icon" data-tip="Copy link" aria-label="Copy link"><svg class="i"><use href="#i-link"/></svg></button>
  <button class="btn btn-icon" data-tip="Delete" aria-label="Delete"><svg class="i"><use href="#i-trash"/></svg></button>
</div>

Classes

SelectorPurpose
[data-tip="text"]Shows the text above the element on hover and focus