simple-css-tooltips

1.2.0 • Public • Published

simple-css-tooltips

Simple CSS Tooltips are … simple CSS only tooltips.

Single line tooltip:

<img src="path/to/foo.png" data-tt="Tooltip text" />

Contents of @data-tt preserve newlines, like pre, and can be used to produce multiline tooltips.

If you need to position the tooltip somewhere other than below (south of) the element, use one of the classes .tt-e, .tt-w, .tt-n which correspond to east, west and north of the element respectively.

Simple Tooltips demo.

Readme

Keywords

Package Sidebar

Install

npm i simple-css-tooltips

Weekly Downloads

0

Version

1.2.0

License

AGPL-3.0

Last publish

Collaborators

  • earnubs