纯js tooltip工具提示插件 A custom tooltip which uses vanilla javascript and CSS3 animation

Javascript-CSS Tooltip

A custom tooltip which uses vanilla javascript and CSS3. It is tested in IE9+, Firefox 17+, Chrome 20+ and Safari 5.0+

The tooltip also take into account if it has enough space on the right or left side of the viewport. If not, it shows the tooltip on the left or right of the element.

Example

Hover me ipsum dolor sit, consectetur adipisicing elit. Aliquam, illo ut impedit! Quisquam fuga quo est? Nam alias, aliquam suscipit, atque, adipisci necessitatibus sunt dolore non iste debitis laboriosam Tooltip with a long description.

tooltip tooltip
Tooltip in an overflow:hidden container