0.0.7 • Published 7 years ago

@commitchange/tooltip v0.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

tooltip

css only tooltip styles

demo

the styles do not include any browser prefixes. to add them, run autoprefixer with postcss.

the styles do not include any z-index rules. you should add them to your own project in relation to other z-indices:

[class*=tooltip--]:before, 
[class*=tooltip--]:after {
  z-index: 10; 
}

to install: npm install --save @commitchange/tooltip

to use in css-land:

in your style sheet, just add @import '@commitchange/tooltip and then run postcss-import

to use in markup-land:

<div class='tooltip--top' data-tooltip='this tooltip text will appear above this div when hovered over'>
  Hover over me
</div>
0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago