Simple tooltip.
npm install --save css-ui-tooltip
CSS dependencies.
<link rel="stylesheet" href="path/to/normalize.css">
<link rel="stylesheet" href="path/to/open-sans.css">
<link rel="stylesheet" href="path/to/cssui.css">
CSS tooltip.
<link rel="stylesheet" href="path/to/style.tooltip.css">
CSS tooltip theme.
<link rel="stylesheet" href="path/to/style.tooltip.theme.css">
Use Open Sans fotns.
font-family: 'Open Sans', sans-serif;
Tooltip html.
Class: primary
, common
, success
, warning
and danger
<span class="tooltip">Top <span class="primary top">Top</span></span>
<span class="tooltip">Bottom <span class="primary bottom">Bottom</span></span>
<span class="tooltip">Left <span class="primary left">Left</span></span>
<span class="tooltip">Right <span class="primary right">Right</span></span>
Enjoy tooltip.