A CSS Hint Library Just for Your Awesome Websites

hint.css is written as a pure CSS resource with which you can create great accessible tooltips for your web application. It is not based on JavaScript but rather uses the aria-label / data-attribute * attribute, pseudo-elements, content property, and CSS3 transitions to generate tooltips. Also, the BEM naming convention is used, especially for modifiers.

custom tooltip css, tooltip animation, css tooltip with arrow, css tooltip animation, css tooltip on hover, pure css tooltip, css3 tooltip, css tooltip generator

Browser support

css works on the latest browsers, although the transition effect is only supported on IE10+, Chrome 26+, and FF4+ at the moment.

  • Chrome – Basic Transition Effects +
  • Firefox – Basic + Transition Effects
  • Opera – Basic
  • Safari – Basic
  • IE 10+ – Basic + Transition Effects
  • IE 8 & 9 – Basic

How to make use of it:

1. Include hint.css in the header section of your document.

<link rel="stylesheet" href="hint.css">

2. Add a link to an HTML element. Use the “data hint” attribute for hint/hint content.

<a class="hint--top  hint--error" data-hint="This is an error tooltip">Hover me</a>

3. You can also use the ‘aria-label’ attribute instead.

<a class="hint--top  hint--error" aria-label="This is an error tooltip">Hover me</a>

All possible themes.

  • hint–error
  • hint–info
  • hint–warning
  • hint–success

Change the size of the tooltip.

  • hint–small
  • hint–medium
  • hint–large

More CSS classes to customize the tooltip

  • hint–always: always display
  • hint–rounded: rounded corner
  • hint–no-animate: with no animation
  • hint–bounce: with bounce animation

Create Animated Tooltips With Pure CSS/CSS3, Hint.css Plugin/Github

See Demo And Download

Official Website(chinchang): Click Here

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

Related Posts


Simple And Powerful Fullscreen Lightbox Plugin | fslightbox

Fullscreen Lightbox Basic is a modern and handy plug-in for displaying photos and videos in a clean overlay box. Showcase a single source or create a great…


Product Thumbnail Slider With Positive Zoom Effect jQuery

Positive Zoom is a JavaScript library for creating an image gallery where you can zoom in on the current image by hovering over it. Must Read: Pure…


Create Responsive Gauge Meter Using Pure CSS | CSSGauge

Pure CSS Gauge Meter Component, no SVG, or artboard is used in this component. This component can be easily distinguished by overriding the default style rules and…


Versatile Date and Time Picker Calendar for Bulma

Bulma extension for calendar display can be used on a page as a large calendar with appointments or as a date picker/popup window. A responsive, customizable, and…


Simple Time-Series Chart Viewer with HTML5 Canvas Javascript Library

Pixl chart library displays time series charts in the browser, using the HTML5 Canvas element. It is designed to be lightweight and efficient, while still providing a…


Neumorphic Design Inspiration Style CSS Shapes | Neumorphism

Multi-dimensional design is inspired by the physical world and adds textures, reflection, shadows, layers, and depths to the flat design making the UI elements more visible. CSS…