Tooltips

Pure JS tooltips that follow your cursor.

Looks like this (black box)
Downloadchevron-right

Usage

First, you'll need to load the .JS and .CSS files. Place these lines somewhere between the <head> and </head> tags:

Then, on the element you want the tooltip to appear on, add the class give-tooltip. Then, write whatever message you want displayed in the tooltip inside an attribute called data-tooltip (see example below):

This should be all you need! You can change the look of the tooltip in the .CSS file.

circle-info

If you encounter any problems or bugs, leave a post herearrow-up-right.

Last updated

Was this helpful?