Few days ago I published a post about how to add animated underline to your sites link here I continuing the episode with another idea how to Add Cool Tooltip to your links. The tooltip is a hint is a common graphical user interface element. It is used in conjunction with a cursor, usually a pointer. The user hovers the pointer over an item, without clicking it, and a tooltip may appear—a small "hover box" with information about the item being hovered over. Generally HTML has classic style tooltip as default. Here I ma presenting a updated highend one. It’s a common trick can be found on many top level websites it done by CSS2 and 3. Let’s see how it looks like and how to add it to your links.
Codes for copy:
CSS:
HTML:
Compatibility:
These codes are universal so they will work on any site on web browser.
So what your think about this trick don’t forget to mention, any problem feedback leave via comment. Chill
Add stylish Tooltip to your links
Preview:
Codes for copy:
CSS:
HTML:
- The CSS contains 5 part first part is main CSS you must put this code into your style sheet it will generate tooltip. And 4 others are the style preference which side (left, right, bottom and top) tooltip you want to use; copy one of them or all of them as you like.
- The HTML has 4 individual lines for activating and using 4 different styles as your CSS preference. data-ks-tt indicates what will show on your tooltip, data-ks-tt="Place your Tooltip texts" and >Upper Tooltip</a> place your anchor text
Compatibility:
These codes are universal so they will work on any site on web browser.
So what your think about this trick don’t forget to mention, any problem feedback leave via comment. Chill