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


Preview: 

Add stylish Tooltip to your links


Codes for copy:

CSS:

<style>/*crawlist.net 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;}
   
/*crawlist.net CSS ends*/</style>


HTML:

<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

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

Comments

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…

Where to paste Google Analytics Code in Blogger

Fortunately blogger has default analytics report on its dashboard. But the visitor data reported in dashboard that is not sufficient. So adding Google analytic code in Blogger manually is extremely useful to do visitor tracking (where do visitors coming form, their behavior on your website and on specific content, SEO analysis, website performance look up, AdSense tracking, future reference etc).
But the question is where to paste Google analytic code for maximum result. The basic rule of adding Google analytic code in website is copy and pastes the script code into every webpage you want to track and basically maintaining this theory this is quite impossible to do.
So in this narrow case there is a quite easy way you can use, to paste Google analytic code in blogger read on -

Where to paste Google Analytics code in Blogger
Step 1: Go to Google analytic and log in

Step 2: Set up an account by putting website name, address, reporting time

Step 3: Now you will get a Tracking Id and Trackin…

How to Optimize Website to Load Faster

In the matter of visiting a website or blogsite nobody likes a tortoise, everybody likes rabbit. A slow loading website bothers everyone and you will lose your visitor for forever, even if there you putted a lots of good content. Again a fast loading website is a great factor for having more visitors and pageviews, friendlier to SEO (Google likes and recommends Speed). Overall making a good impression about your content to visitor you have to make your website load faster.Optimizing and taking care of some fact is enough to make a website load faster. Things focused on here are using good host, removing unnecessary code, scripts even widget, gadgets, optimizing for image, fast caching. Also if you using wordpress how to optimize wordpress website to load faster explained here. Keep on reading the minimax explanation-
How to Optimize Website to Load Faster
Optimizing CodesCompress CSSOptimizing CSS codes of your website’s is important. Unnecessary CSS code makes site sloth. So remove u…

13 Best Forum CMS/Script to use

Forum or bulletin board is the best way to start discussion with your website or product's user, clients or Just chilling out with a phenomenon, problem or solutions. To create a forum website you need to make a platform by coding, Or you can just use ready-made forum CMS (content management system). Here I've made a list for best forum CMS (platform) or bulletin board script/software. All forum cms gathered here are easy to use and management plus high end performance and satisfaction. Just read on the list, click on the names to get more information, download and use.

13 Best Forum CMS/Script to use

V Bulletin (Paid)
The best professional and business forum cms/software. You can find it anywhere all over the internet. They got customer like Nasa, Sony, Stream

Satisfaction:     Real-time integration    Extensive personalization (lot of third party themes)    Content generation    Mobile optimize    Easy management ability to launch site under 15 minutes    Integrated Seo    Bui…

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…