Cool Tooltips with Pure CSS

Cool Tooltips with Pure CSS


Hint.css is a tooltip library in CSS that helps you add cool tooltips to any element of your page. The major difference between Hint.css and othe tooltip plugins is that Hint.css uses data-* attribute, pseudo elements, content property and CSS3 transitions so that it's only compatible with those modern browsers which fully support HTML5 and CSS3.


How to use it:
  • Include Hint.css in your page
                 
<link rel="stylesheet" href="hint.css">


  • Markup your link with at least 2 classes. Use data-hint attribute to add your tooltip text.
                 
<p> <a href="#" class="hint  hint--top" data-hint="jQueryScript.Net">Look, there is something over me.</a> </p>


  • Position Options.
                 
class="hint hint--top" 
class="hint hint--bottom"
class="hint hint--left"
class="hint hint--right"


  • Additionally, you can use other modifiers to style your tooltips
                 
hint--error
hint--info
hint--warning
hint--success
hint--always


This awesome jQuery plugin is developed by chinchang. For more Advanced Usages, please check the demo page or visit the official website.

Komentar

Posting Komentar

Komentarnya mas :)

Postingan populer dari blog ini

Here's Why Paying For Your Traffic Is A Smart Move

jQuery Automatic BlackEagle Slideshow Plugin

Effectively Using Overture / Yahoo To Get Website Visitors