1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00
Files
tabler/pages/_docs/tooltips.md
2020-02-21 09:50:21 +01:00

1.7 KiB

title, menu, description, bootstrap-link
title menu description bootstrap-link
Tooltips docs.tooltips Tooltips are text labels which appear when a user hovers over an interface element. They explain the interface elements that may be unclear for users and guide them when they need help. If used properly, tooltips can significantly enhance user experience and add value to your website or software. components/tooltips/

Default markup

Use the default markup to create tooltips that will help users understand particular elements of your interface. You can decide where the text label is to be displayed - at the top, bottom or on either side of the element.

{% capture code %} Tooltip on top Tooltip on right Tooltip on bottom Tooltip on left {% endcapture %} {% include example.html code=code %}

Tooltip with HTML

If the default tooltip is not enough, you can add the option to use HTML code in the text to highlight particular bits of information and make the content more attractive.

{% capture code %} Tooltip with HTML {% endcapture %} {% include example.html code=code %}