@npmcorp/pui-css-tooltips
v8.5.0
Published
tooltips css component for the npm fork of Pivotal UI, based on Bootstrap
Downloads
41
Readme
@npmcorp/pui-css-tooltips
A CSS tooltips component that can be installed via this npm package. The package provides all of the CSS you need to use the component.
Installation
To install the package, from the command line, type:
npm install pui-css-tooltips
Usage
Note: this requires the Bootstrap JavaScript.
<p>
Check out this
<a id="link-with-tooltip-1" href="#" data-toggle="tooltip" data-placement="left" title="I should be on the left">
tooltip on the left!
</a>
</p>
<p>
Check out this
<a id="link-with-tooltip-2" href="#" data-toggle="tooltip" data-placement="right" title="I should be on the right">
tooltip on the right!
</a>
</p>
<p>
<button id="button-with-tooltip-1" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="I should be on the top">
Check out this tooltip on the top!
</button>
</p>
<p>
<button id="button-with-tooltip-2" class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="I should be on the bottom">
Check out this tooltip on the bottom!
</button>
</p>
You can find more examples of the tooltips component in the pui style guide
This is a component of Pivotal UI. It is a Pivotal specific implementation of Bootstrap.
(c) Copyright 2015 Pivotal Software, Inc. All Rights Reserved.