chinchang / hint.css

A CSS only tooltip library for your lovely websites.

Home Page:https://kushagra.dev/lab/hint/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why should we use hint.css instead of Jquery UI tooltip ?

fahim-patel opened this issue · comments

  1. Smaller size.
  2. Avoiding JavaScript to run for such simple task.
  3. Easy initialization (there is no initialization 😃). For most jQuery ones, you need something like:
$('.tooltip').tooltip({
 // config here
});
  1. Easily tweakable through CSS. Assuming CSS is much easily tweakable than JavaScript for most.

Thanks @chinchang 👍