Step.1- Include hint.css in your page.
<link rel="stylesheet" href="hint.min.css">
Step.2- Use class hint Now, all you need to do is give your element any position class and tooltip text using the aria-label or data-hint attribute:
Hello Sir, <span class="hint--bottom" aria-label="Thank you!" style="color:red">hover over me.
You can choose position like hint–bottom, hint–top, hint–left, hint–right
Also Use it with other available modifiers in various combinations. Available modifiers: hint–error, hint–info, hint–warning, hint–success, hint–rounded and hint–bounce.
See live demo and download source code.
See offical website Cick Here