Skip to main content
Tooltips are based on hint.css. Currently they don’t support html content.

Basic Usage

Add a tooltip by setting an aria-label on an element.

Modifiers

  • .--top: Show the tooltip above the element
  • .--right: Show the tooltip to the right of the element
  • .--bottom: Show the tooltip below the element
  • .--left: Show the tooltip to the left of the element
  • .--top-left: Show the tooltip above and to the left of the element
  • .--top-right: Show the tooltip above and to the right of the element
  • .--bottom-left: Show the tooltip below and to the left of the element
  • .--bottom-right: Show the tooltip below and to the right of the element
  • .--small: Make the tooltip smaller
  • .--medium: Make the tooltip medium sized
  • .--large: Make the tooltip larger
  • .--fit: Make the tooltip fit the content
  • .--error: Make the tooltip red
  • .--warning: Make the tooltip yellow
  • .--info: Make the tooltip blue
  • .--success: Make the tooltip green
  • .--always: Show the tooltip always
  • .--no-animate: Don’t animate the tooltip
  • .--bounce: Make the tooltip bounce
  • .--no-arrow: Don’t show the arrow

Variables