Over a million developers have joined DZone.
Platinum Partner

Hint.css - A Tooltip Library In CSS

· Web Dev Zone

The Web Dev Zone is brought to you in partnership with Mendix.  Discover how IT departments looking for ways to keep up with demand for business apps has caused a new breed of developers to surface - the Rapid Application Developer.

Hint.css is a tooltip library written completely in CSS. It’s originally written in SASS and uses only HTML/CSS to implement simple tooltips.

There is no JavaScript needed whatsoever to make the tooltips work. Hint.css bypasses all the JavaScript by making use of data-* attribute, pseudo elements, content property and CSS3 transitions to create stunning tooltips.

Hint.css also uses the Block-Element-Modifier (BEM) for modifiers. Once caveat with Hint.css is that transitions on pseudo elements is only available in Firefox currently. So this feature will not work in other browsers, but degrades gracefully in non-supporting browsers.

Requirements: None
Demo:http:/ / kushagragour. in/ lab/ hint/
License: MIT License

The Web Dev Zone is brought to you in partnership with Mendix.  Learn more about The Essentials of Digital Innovation and how it needs to be at the heart of every organization.


Published at DZone with permission of Hirvesh Munogee , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}