Sliding Social icons with Hover effect for Blogger

Dhiraj Barnwal Sunday, 2 June 2013 7 comments


Today I am going to show how you can add cool Sliding Social icons with Hover effect to your Blogger/Blogspot blog. These button have a really cool hover effect.

These buttons are made with CSS without using any JavaScript coding. The code has been optimized to load faster. These buttons are attractive and their hover effect make them awesome. When hovered we can see a sliding effect and change in the buttons image. A live working demo of this widget can be seen just below.

 





Once you have seen the demo we can move on with the tutorial for adding this widget to your blogger blog.

Adding the HTML/CSS through Layout

For adding this widget in your blog go to Blog Title → Layout → Add Widget → HTML/JavaScript and paste the below code in the box.

<div class="abt-social-slide">
<ul>
<li><a class="facebook" href="#" target="_blank">Facebook</a></li>
<li><a class="twitter" href="#" target="_blank">Twitter</a></li>
<li><a class="google-p" href="#" target="_blank">Google plus</a></li>
<li><a class="rss" href="#" target="_blank">Rss</a></li>
</ul>
</div>
<style>
.abt-social-slide ul li{list-style:none;border-bottom:none;padding:0}
.abt-social-slide li a{width:59px;height:59px;float:left;text-indent:-99999px;border:solid 1px #222121;border-radius:5px;-webkit-transition:All .3s ease-out;-moz-transition:All .3s ease-out;-o-transition:All .3s ease-out;margin:5px 5px 10px;padding:0}
.abt-social-slide li a.facebook{background:url(http://4.bp.blogspot.com/-njqMpTvxYbs/UFM2yXm-AnI/AAAAAAAAEFU/yfm_dKxQ2hs/s1600/facebook.png) no-repeat 0 -88px}
.abt-social-slide li a.facebook:hover{background:url(http://4.bp.blogspot.com/-njqMpTvxYbs/UFM2yXm-AnI/AAAAAAAAEFU/yfm_dKxQ2hs/s1600/facebook.png) no-repeat 0 0}
.abt-social-slide li a.twitter{background:url(http://2.bp.blogspot.com/-BtalCDk0UGg/UFM206t5yfI/AAAAAAAAEFk/1cwjqImigQo/s1600/twitter-1.png) no-repeat 0 -88px}
.abt-social-slide li a.twitter:hover{background:url(http://2.bp.blogspot.com/-BtalCDk0UGg/UFM206t5yfI/AAAAAAAAEFk/1cwjqImigQo/s1600/twitter-1.png) no-repeat 0 0}
.abt-social-slide li a.google-p{background:url(http://1.bp.blogspot.com/-qITbsA3n7_w/UFM2z36eMnI/AAAAAAAAEFc/PK9Cmf7JZd4/s1600/google.png) no-repeat 0 -88px}
.abt-social-slide li a.google-p:hover{background:url(http://1.bp.blogspot.com/-qITbsA3n7_w/UFM2z36eMnI/AAAAAAAAEFc/PK9Cmf7JZd4/s1600/google.png) no-repeat 0 0}
.abt-social-slide li a.rss{background:url(http://1.bp.blogspot.com/-xmXWc6_8mxw/UFM21nVC47I/AAAAAAAAEFs/Ydce5M-vkvw/s1600/twitter.png) no-repeat 0 -88px}
.abt-social-slide li a.rss:hover{background:url(http://1.bp.blogspot.com/-xmXWc6_8mxw/UFM21nVC47I/AAAAAAAAEFs/Ydce5M-vkvw/s1600/twitter.png) no-repeat 0 0}
</style>

After adding the code change # to your desired URL and save the widget. Finally save the template.

You are done now. Now you and your visitors can see this awesome sliding social icons with Hover effect in your blogger blog.
Labels:
Google+ Pinterest

7 Comments to Sliding Social icons with Hover effect for Blogger Post Yours! Read Comment Policy ▼

Thaaaanks my friend ^_^

nice one!!

But, how can align these icons on the right side?

My website: https://www.outlived.co.uk

Thank you in advance,
Helmuts
Outlived Classifieds

find a solution myself how to align them on the right side...

in my case:

.abt-social-slide{ width:356px; float:right; }

thank you for an excellent tutorial!!
Helmuts Meskonis
Outlived Classifieds
https://www.outlived.co.uk

awesome.. i just wished there's option for image size or resolution?i need smaller buttons to fit for my blog (www.pisoandbeyond.com) but thanks this is great nonetheless

Awesome! I've managed to modify this to include linkedin and remove twitter. just have to play with the "no repeat 0 - 60px" to get the desired position of the icon. thank you!!!