Tooltips
Pure JS tooltips that follow your cursor.

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.
Last updated
Was this helpful?