Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

css-ui/tooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.