Skip to main content

Add stylish Tooltip to your links

Add stylish Tooltip to your links
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.

Add stylish Tooltip to your links


Add stylish Tooltip to your links

Codes for copy:


<style>/* CSS starts*/

/*general style*/
.ks-tt { position: relative; display: inline-block; }
.ks-tt:before, .ks-tt:after {
    position: absolute;
    opacity: 0;
    z-index: 1000000;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    pointer-events: none;}
.ks-tt:hover:before, .ks-tt:hover:after {
    opacity: 1;}
.ks-tt:before {
    content: '';
    position: absolute;
    background: transparent;
    border: 6px solid transparent;
    position: absolute;}       
.ks-tt:after {
    content: attr(data-ks-tt);
    background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 8px 10px;
            font-size: 12px;
    white-space: nowrap;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);}

/* top */
.ks-tt--top:before {
    bottom: 100%;
    left: 50%;
    margin: 0 0 -18px 0;
    border-top-color: rgba(0, 0, 0, 0.8);}       
.ks-tt--top:after {
    bottom: 100%;
    left: 50%;
    margin: 0 0 -6px -10px;}
.ks-tt--top:hover:before {
    margin-bottom: -10px;}
.ks-tt--top:hover:after {
    margin-bottom: 2px;}

/* bottom */
.ks-tt--bottom:before {
    top: 100%;
    left: 50%;
    margin: -14px 0 0 0;
    border-bottom-color: rgba(0, 0, 0, 0.8);}       
.ks-tt--bottom:after {
    top: 100%;
    left: 50%;
    margin: -2px 0 0 -10px;}
.ks-tt--bottom:hover:before {
    margin-top: -6px;}
.ks-tt--bottom:hover:after {
    margin-top: 6px;}

/* right */
.ks-tt--right:before {
    left: 100%;
    bottom: 50%;
    margin: 0 0 -4px -8px;
    border-right-color: rgba(0,0,0,0.8);}       
.ks-tt--right:after {
    left: 100%;
    bottom: 50%;
    margin: 0 0 -13px 4px;}
.ks-tt--right:hover:before {
    margin: 0 0 -4px -0;}
.ks-tt--right:hover:after {
    margin: 0 0 -13px 12px;}

/* left */
.ks-tt--left:before {
    right: 100%;
    bottom: 50%;
    margin: 0 -8px -4px 0;
    border-left-color: rgba(0,0,0,0.8);}       
.ks-tt--left:after {
    right: 100%;
    bottom: 50%;
    margin: 0 4px -13px 0;}
.ks-tt--left:hover:before {
    margin: 0 0 -4px 0;}
.ks-tt--left:hover:after {
    margin: 0 12px -13px 0;}
/* CSS ends*/</style>


<p><a href="#" class="ks-tt  ks-tt--top" data-ks-tt="Upper Tooltip">Upper Tooltip</a></p>

<p><a href="#" class="ks-tt  ks-tt--right" data-ks-tt="Rightside Tooltip">Rightside Tooltip</a></p>

<p><a href="#" class="ks-tt  ks-tt--bottom" data-ks-tt="Bottom Tooltip">Bottom Tooltip</a></p>

<p><a href="#" class="ks-tt  ks-tt--left" data-ks-tt="Leftside Tooltip">Leftside Tooltip</a></p>

  • 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

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


Popular posts from this blog

Easily Get 50000 free Backlink for your website

Backlinks are heart of SEO. Without backlink your website will not get a good position in search result and won't get indexed quickly. As you already knew there is two ways you can get backlinks one is Natural linking and another is paid or automated linking. Natural linking is worth to doing and it takes a while but if you don’t have enough time, running a professional business website and need to reach a destination quickly, automated backlinking going to be your last choice. To make automated backlinks you will need to buy paid link package or if you just don’t willing to buy links right now let’s start with free. Here such kind of free backlink maker, free backlink generator listed. And definitively you have a chance to create 50000+ free backlink for your website. But you should also remember Google doesn't like it, I mean Google doesn't recommend it at all. Read on-

+ 50000 free backlink for your websiteIndex kings
Rapid website submitter index kings it will submit y…

Add Cool Social Media Sharing icons below posts in Blogger

Change the taste of random looking social sharing button below posts in Blogger, here you can find a different and cool social media sharing widget what I named it Coldblodded! This social sharing widget loads faster than other icon base social shares, it's icons change color with mouse hover with flipping effect, it got the major social media sites share, main color is black colored what looks artistic and attractive.
Coldblodded social media sharing widget offers shares a post to Facebook, Twitter, Google plus, Pinterest and bookmark a post on Delicious, Evernote, Stumble upon, Digg, Blogger, Yahoo bookmarks additional feedburner email subscription. It made with CSS, HTML and icons uses only a piece of image what will draw all icon process calls CSS image transition CSS Sprite, This widget also reduce HTTP request unlike other icon base sharing choices. Will be fit to any kind of Blogger blog, no matter they are professional blogs, gallery or other features sites. Let's see…

12 best free Article Rewriter/Spinner you can use

Copy paste's day is over, search engine's unique content search system finds plagiarism automatically and charge copy paster's for not to having unique content on site and also deploy duplicate content issue what is a big SEO factor now days. Plus if you use stolen text to use those on your site you also will get Dmca,Copyscape, Creative Commons and other content protecting law and policy warning and charge.
Also for holding site's readers eyes and mind on your site content spinning article can be use for present a article more charming with rich vocabulary and thesaurus. And batch producing a lot of article in short time from already someone's published article, article rewriter can be a helpful easy way for you or your client.
There is lot of free article rewriter/spinner online web tool and offline desktop application you can find for spinning your articles for free. After testing most of these tools, I made a final list. Now from the best article rewriter lis…

Add 6 stylish list/bullet to Blogger posts

Blogger’s default list/bulleting system is using dots, dotting style is cool but not that much cool if you are little bit of stylish and want to stay trendy and also want to represent your lists with high-end taste. That’s reason here I am publishing 6 different style of bullet system calls Arrow, Minus, Check, Plus, Carrow and Star. Made with CSS, Google font, Sprite images and they are super easy to add; designed that way. Let’s see how they look like and how to add them to your Blogger blog.

Arrow style
.post-body ul {margin:0; padding:6px 0; list-style:none;}
.post-body ul li {margin:10px; padding:0 0 5px 22px; color:#222222; background-repeat:no-repeat; background-position:-67px -558px; background-image:url(; background-position:-303px -322px; font-size:15px; line-height:1;font-family: 'Droid Serif', serif; font-weight:100;}/* bullet*/
@import url(…

6 Best Local Web Server software

Web server is a computer system that processes requests via HTTP, the basic network protocol used to distribute information on the World Wide Web. The term can refer to the entire system, or specifically to the software that accepts and supervises the HTTP requests. And a local web server use for testing and deployment purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. Here below Top 6 Best Local Web Server software listed. Read on:
6 Best Local Web Server software1. XAMPP 
XAMPP is the most popular software that allows to install and run a development server on your computer (Windows, Mac or Linux) and write, test, debug code before going live. This application will install different components that will help you to code websites and online applications on your local machine, avoiding costs with hosting. You can install these components like: Server: Apache, MySQ…