The simplest HTML tooltip for your web sites.
tooltip.js can be added your website in three simple steps:
- Include
tooltip.js
andtooltip.css
(or the minified versions for production) in your page.
<link href="/path/to/styles/tooltip.min.css" rel="stylesheet" />
<script src="/path/to/tooltip.min.js"></script>
- Use the
title
attribute of an HTML element and mark it with.tooltip
css class. tooltip.js itself does not require any configuration options, but you can customize the tooltip position and style with css classes.
<button class="tooltip">
top
</button>
tooltip.js itself does not require any configuration options. Find out more in the How it works section.
For the full documentation and examples please visit this site.