New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

data-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-tooltip

css only tooltips using data attributes

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
238
217.33%
Maintainers
1
Weekly downloads
 
Created
Source

tooltip

css only tooltips using data attributes

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 data-tooltip

to use in css-land:

in your style sheet, just add @import 'data-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>

Keywords

tooltip

FAQs

Package last updated on 07 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts