1.0.3 • Published 11 months ago

@arthur-lobo/custom-tooltip v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

custom-tooltip

A CSS package to use custom tooltips on your site

How to use

  • Install the package with npm or yarn

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>
1.0.3

11 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago