Social Bookmarking Buttons With Spinning Effect for Blogger


Till now many social bookmarking widgets has been released for Blogger. Simply, social bookmarking buttons and icons helps you to make your blog socialize and get more traffic. Adding social bookmarking buttons is cool way to get more readers and targeted audience.


Before using social bookmarking option, you must be aware of icons design how much clickable is it. Your readers are likely to click social bookmarking button containing in your blog if they find the buttons really cool. If you haven't such buttons, so here is something special for you.

Social bookmarking buttons with spinning hover effect. Buttons are cool itself and when your reader hover the mouse over it, it spins a round.

Check the demo yourself!

Here is how to add these cool buttons to your Blogger blog:

Login to Blogger > Design > Edit HTML > Expand widget templates. Find the following code in your template:

<data:post.body/>

Just below that add the following group of codes:

<b:if cond='data:blog.pageType == "item"'>
<div class='spinning_icons'>
<a class='twitter' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share' rel='nofollow' target='_blank' title='Twitter'>Twitter</a>
<a class='delicious' expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Delicious'>Delicious</a>
<a class='digg' expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg'>Digg</a>
<a class='facebook' expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Facebook'>Facebook</a>
<a class='stumbleupon' expr:href='&quot;http://www.stumbleupon.com/refer.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumbleupon'>Stumbleupon</a>
<a class='rss' href='http://feeds.feedburner.com/hacktutors' target='_blank' title='RSS'>RSS</a>
</div>
</b:if>


Replace hacktutors with your feedburner username. Again, find the following code:

]]></b:skin>

Just above that code, past the following:


.spinning_icons a{
    width:48px;
    height:48px;
    display:inline-block;
    text-indent:-9999em;
    background-position:0 0;
    background-repeat:no-repeat;
    z-index:2000;
    overflow:hidden;
}
.twitter{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtPlke6p8qNXWGiLIyeesqOLg82QDwIPOFYnYG7fX5rFzQrKnMqgnokkezOtz6h_18SZs1ezAhpm8h4kCn0-DeO5XxISxc0ZOwiykh5qZ3-asQJaagadcmhQpZeyt0dudwmlpTnUuz0FQ/s1600/twitter_32.png'); }
.delicious{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzxMKo6rGvGOM2WemV-_wD1n8ahxcd8OjTMB36Odjr9S-P-8HT3hyxtIbubkKlYAao_vfbOJGTjWpTqhKyqhp0nMZVKumTlmhFTqZzjMC7OKuJ0ku_ns9fWyV4sKhOBMLI-3VvHIzTXgs/s1600/delicious_32.png'); }
.digg{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLqWgv5MjmyRskSsJgnB2imi-bWT_P2pzhgDvDdiIo-7AmIOQBmPlfc7fNxEDNnvfTtwnNexTF05bwOSlNJsbo409MISK_rXf6xJgbRIVRihWo45qrgxZmpziRxa4vojpKtI1L2654wgs/s1600/digg_32.png'); }
.facebook{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0oGnliOuwtSp2HVS-pgmMo-2bN3DE9YtkDiqJ6ByVv6Sv_pkJVe0uzKvf4NeCQ30JeUdMWgWDjbioMHB_JrnvSa0gXJkp5vU7HT8yJI7Kcyo8o7zZoZwr5mW7etQ95KWd7iz3nlMQlwY/s1600/facebook_32.png'); }
.rss{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ6XArndGdQfaacQxkccMA_FEKv0LNKdO3YtPFWYr0W_vpjnqvowDKt1XEnD7U7gr4OBbO0ZRbu0RlNoFsAbfxHqx-YU03KfY6VCBIat8Wpf0KlxcinfY2uQEEwxqRdk8CSLZb0O1yssI/s1600/rss_32.png'); }
.stumbleupon{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH01YkUhZi2BSQ5kgd8gh2oJKwqEHX-JBIjo2JbUUzeHfG796hmwzVC2CFzVHBwZ3x2rUI_r7B4UDJTJgw59MfiRcHi8rt5xnbjwm7OftXKB8S2hniZI9IzPdmUAE1tvnhWXJzn6VYnhY/s1600/stumbleupon_32.png'); }
.spinning_icons a:hover{
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
    transition: transform 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.2s ease-out;
        -moz-transition: -moz-transform 0.2s ease-out;
}

Now save the template and your are done! Have a look at your cool new bookmarking button that appears at the bottom of your post.

Thanks to Paulund for this cool CSS3 bookmarking button spinning effect.

0 comments

Posts a comment

 
© geekOgizmo | Gizmos for Geeks, Technology for Technofreaks, Information for Infofreaks
Designed by Jotish Suthar Dinesh Kothari
Back to top