May 09, 2014

Sliding Social icons with Hover effect

Posted by Yuga irgi on Friday, May 09, 2014 in , | No comments
social icon
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.






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(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0sZO_vi3amcyFNMh6oVg2i6oVI-22N5HMTOMOP6BW2ZAG6uiZBtUWIojOcp7Arz7flDoQYTTU9J13xZeh0_pxv-LBHhHpoDCL_M2m2pbVGUUI3_lWScwX3LvJh7cDEt5_DreQgxwfhA/s1600/facebook.png) no-repeat 0 -88px}
.abt-social-slide li a.facebook:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0sZO_vi3amcyFNMh6oVg2i6oVI-22N5HMTOMOP6BW2ZAG6uiZBtUWIojOcp7Arz7flDoQYTTU9J13xZeh0_pxv-LBHhHpoDCL_M2m2pbVGUUI3_lWScwX3LvJh7cDEt5_DreQgxwfhA/s1600/facebook.png) no-repeat 0 0}
.abt-social-slide li a.twitter{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxKruCweSTvgF5rg0aeLgpAhqh1xIEpQb_5E9o-0eXhIoVkJZUjWYTEQuQFkv72kxJQeCD7ZvzB-Zh9gcKieaeR5213_rKgDQSDNgC-_1ihOOJjnwogi3ij1YZGDy3kpN9COaz85Rs9g/s1600/twitter-1.png) no-repeat 0 -88px}
.abt-social-slide li a.twitter:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxKruCweSTvgF5rg0aeLgpAhqh1xIEpQb_5E9o-0eXhIoVkJZUjWYTEQuQFkv72kxJQeCD7ZvzB-Zh9gcKieaeR5213_rKgDQSDNgC-_1ihOOJjnwogi3ij1YZGDy3kpN9COaz85Rs9g/s1600/twitter-1.png) no-repeat 0 0}
.abt-social-slide li a.google-p{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlg3oaEdr-38ZxZGJNdAjWl55o4dxB2MZ6GeyCWfSTWQFJDG6eZ8rntiL-vZuZbacb5LsnUZDJ6AQcwE2hOf61LgD6hk38ixZidqp453Y9ndR2aTXH8fjrZrPZCKFYfcBs-AeH59xASw/s1600/google.png) no-repeat 0 -88px}
.abt-social-slide li a.google-p:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlg3oaEdr-38ZxZGJNdAjWl55o4dxB2MZ6GeyCWfSTWQFJDG6eZ8rntiL-vZuZbacb5LsnUZDJ6AQcwE2hOf61LgD6hk38ixZidqp453Y9ndR2aTXH8fjrZrPZCKFYfcBs-AeH59xASw/s1600/google.png) no-repeat 0 0}
.abt-social-slide li a.rss{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NdBW2oGVlnbe65L0waSGReY_fBi-XRbDK_MEjwSOYOAX3KigMreypGDk1MkC1TovCfp6jhP8MORLxyli0YwwYl8NtNVyUYQ_MyypMaYywr3mEN_bGlKDobzG7DohyphenhyphenKHUTkzm9UwwXg/s1600/twitter.png) no-repeat 0 -88px}
.abt-social-slide li a.rss:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NdBW2oGVlnbe65L0waSGReY_fBi-XRbDK_MEjwSOYOAX3KigMreypGDk1MkC1TovCfp6jhP8MORLxyli0YwwYl8NtNVyUYQ_MyypMaYywr3mEN_bGlKDobzG7DohyphenhyphenKHUTkzm9UwwXg/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.

0 comments:

Post a Comment