You can display simple tootltips by adding a [data-tooltip="tooltip text"]
attribute on any element. The tooltip is creaed as a pseudo element on the element itself, meaning it may be hidden if one of his parents has an overflow hidden rule.
You can change the position of the tooltip based on the screen size using the following class name:.{xx}:tooltip-{position}
.
{xx} can be xs
, sm
, md
, lg
, xl
.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at eros scelerisque, luctus metus quis, lacinia dui. Vestibulum sit amet ipsum nunc.
You can change the position of the tooltip based on the screen size using the following class name:.{xx}:tooltip-{position}
.
{xx} can be xs
, sm
, md
, lg
, xl
.