A Lightweight JavaScript Library to Implement Tooltips | Tooltipper

Tooltipper is a lightweight (750-byte) JavaScript library for implementing tooltips that will automatically adjust the position of the tooltip to stay on screen.

javascript dynamic tooltip on mouseover, tooltip using javascript onmouseover, add tooltip using javascript, javascript tooltip library, dynamic position tooltip javascript

Bootstrap Tooltips and Popovers Extend By Adding Custom Classes

How to make use of it:

1. Import the Tooltipper JavaScript library into the doc.

<script defer src="tooltipper.min.js"></script>

2. Define the tooltip content material within the tooltip attribute:

<a href="#" tooltip="Tooltip Content">

3. Or within the aria-label attribute:

<a href="#" aria-label="Tooltip Content" tooltip>

4. Apply your personal CSS types to the tooltip.

tool-tip {
  background-color: #424242;
  color: #fff;
  border-radius: 0.125rem;
  line-height: 24px;
  height: 24px;
  white-space: nowrap;
  padding: 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
  transform-origin: center;

tool-tip.visible {
  animation: limitedTooltip 1725ms 150ms linear forwards;

@keyframes limitedTooltip {
  0% {
    opacity: 1;
  4% {
    opacity: 1;
  96% {
    opacity: 1;
  100% {
    opacity: 0;
    animation-timing-function: ease-in-out;

Tiny Smart Tooltip JavaScript Library, Tooltipper Plugin/Github, javascript keep tooltip on screen, creative tooltips, tooltip type popup

See Demo And Download

Official Website(codewithkyle): Click Here

This superior jQuery/javascript plugin is developed by codewithkyle. For extra Advanced Usages, please go to the official website.

Related Posts


Responsive Multiple Selection Combo Box using Bootstrap 3 | MagicSuggest

MagicSuggest is an easy-to-use jQuery plugin for creating a combo menu that allows you to select multiple items from a dropdown list with typing and auto-complete support….


Material Design Inspired Tab UI In Vanilla JavaScript

Material Design tab vanilla JS implements a material design-inspired tab component with a click ripple effect and an active sliding menu cursor. Must Read: Responsive Accessible Tabs…


Simple Countdown Timer App In jQuery

The countdown is a front-end application that allows starting the countdown with two options: set a target date or write the number of countdown days. A countdown…


Add Animation to Your HTML5 Pages | animate.js

animate.js is a small JavaScript library that provides a convenient way to apply CSS animations powered by Animate.css to DOM elements without writing any CSS. Easily apply…


Responsive Hover Parallax Cards With Vuejs

Vue Responsive Parallax Cards Hover Create response cards with a scroll-triggered parallax effect in your Vue.js application. Must Read: jQuery Sliding Display Your Content Like a Deck…


Responsive Pure CSS Only Accordion & Tabs Component

Responsive pure CSS accordion tabs and tabs will automatically convert to a vertical accordion interface on mobile devices. Must Read: Create Dynamic Accordion Giving JSON Data Using…