hint.css is written as a pure CSS resource using which you can create cool accessible tooltips for your web app. It does not rely on JavaScript but rather uses aria-label/data- attribute*, pseudo-elements, content property and CSS3 transitions to create the tooltips. Also it uses BEM naming convention, particularly for the modifiers. Hint.css is a pure CSS tooltip library for your lovely websites. Upgrading from v1.x, If you are already using v1.x, you may need to tweak certain position classes because of the way tooltips are positioned in v2. All you need to do is give your element any position class and tooltip text using the aria-label attribute. Note, if you don't want to use aria-label attribute, you can also specify the tooltip text using the data-hint attribute, but its recommended to use aria-label in support of accessibility. If you are already using v1.x, you may need to tweak certain position classes because of the way tooltips are positioned in v2.

Features

  • Only CSS. No JavaScript!
  • Small file size
  • Only 1.5KB minified and gzipped!
  • Easy to use. No config required
  • Supports Accessibility with aria-label attributes
  • Works in all modern browsers

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Hint.css

Hint.css Web Site

Other Useful Business Software
Stigg | SaaS Monetization and Entitlements API Icon
Stigg | SaaS Monetization and Entitlements API

For developers in need of a tool to launch pricing plans faster and build better buying experiences

A monetization platform is a standalone middleware that sits between your application and your business applications, as part of the modern enterprise billing stack. Stigg unifies all the APIs and abstractions billing and platform engineers had to build and maintain in-house otherwise. Acting as your centralized source of truth, with a highly scalable and flexible entitlements management, rolling out any pricing and packaging change is now a self-service, risk-free, exercise.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Hint.css!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML, JavaScript Software Development Software

Registered

2022-06-15