@arthur-lobo/custom-tooltip
v1.0.3
Published
A css package to use custom tooltips on your site
Downloads
37
Readme
custom-tooltip
A CSS package to use custom tooltips on your site
How to use
- Install the package with
npm
oryarn
You can import the package from your CSS like this:
@import url('path/to/node_modules/@arthur-lobo/custom-tooltip/dist/index.css');
/*Your css here*/
You can also import directly into your HTML:
<html>
<head>
<link rel="stylesheet" href="path/to/node_modules/@arthur-lobo/custom-tooltip/dist/index.css" />
<!-- Your head content -->
</head>
<body>
<div class="tooltip ">
Hover me!
<span class="tooltip-text">
Hello!
</span>
</div>
<!-- Your body content -->
</body>
</html>