0.0.4 • Published 5 years ago
@squiz/tooltip v0.0.4
@squiz/tooltip
Documentation and examples for adding custom tooltips with CSS and JavaScript using CSS3 for animations and data-attributes for local title storage.
Install
To download the CSS for this component run:
npm i @squiz/tooltip
The CSS is to use within your app is located in: node_modules/@squiz/tooltip/lib/css/tooltip.min.css
Usage
This component can be used in a variety of frameworks.
Static HTML
To import this component into a static site just include it into your HTML link
element like so:
<link href="node_modules/@squiz/tooltip/lib/css/tooltip.min.css" rel="stylesheet" type="text/css">