Tooltip

A small popup label for hover or focus context. Position modifiers:--top (default), --bottom, --start,--end. In production, tooltips are created dynamically via data-ln-tooltip; the example below shows the static markup.

Static tooltip

index.htmlhtml
<div class="ln-tooltip ln-tooltip--top" style="position: relative; display: inline-block">
  This is a tooltip
  <div class="ln-tooltip__arrow"></div>
</div>
This is a tooltip

Reference

ClassDescriptionResponsive
.ln-tooltipTooltip containerNo
.ln-tooltip__arrowDirectional arrowNo
.ln-tooltip--topArrow on bottom (tooltip above)No
.ln-tooltip--bottomArrow on top (tooltip below)No
.ln-tooltip--startArrow on right (tooltip left)No
.ln-tooltip--endArrow on left (tooltip right)No