2.0.6 • Published 5 years ago

css-ui-tooltip v2.0.6

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

CSS UI - Tooltip

Simple tooltip.

Installation

npm install --save css-ui-tooltip

Demo

Quick start

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.