We always try to make something different which will attract our readers/visitors quickly.In today's tutorial we will play with some simple CSS3 properties such as -moz-transform and create a simple social widget with CSS3 spinning effect.This widget will surely help you to increase number of social subscribers also it will attract your readers and grabs visitors attention quickly.On mouse hover they spins(rotates) some degrees and when mouse hovers out on it they return to their original position,this effect is caused by the CSS3 property which I have mentioned above.Now lets go to the tutorial and see how to add them into blogger blog.

How To Add Spinning Icons With CSS3 To Blogger?


I am giving 3 style of this widget,choose any of them and follow below steps to add it to your blog.


  1. Choose any style below
  2. Copy the code
  3. Replace my usernames with yours
  4. Go to Blogger Dashboard > Layout
  5. Click on Add a Gadget
  6. Select HTML/JavaScript
  7. Paste your code and save it.

Live Demo


<style>p#hb_socialicons img {
 /* Spinning Social Icons Widget By HelperBloggers */
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

p#hb_socialicons img:hover {
    -moz-transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
    -o-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    transform: rotate(120deg);
}

/* Spinning Social Icons Widget By HelperBloggers */
</style>



<center><p id="hb_socialicons">
    <a href="http://www.facebook.com/pages/Helper-Bloggers/166050840164778">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFYqg8EcJQfm90Wg21QOgIwmQbPcg7hbHJM2b3klAauSyVLcw4Nysqqc0Xxs3VawQRSVhxHpzztJ7cIgqIDvvXFaceDcdxruTlrGR_XFmVvgaSizrkm8lOtL0RqxFXeUqrgXipF18Ngyw/s1600/helperblogger.com-facebook.png" /></a>
    <a href="http://www.twitter.com/helperbloggers/">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-7Ib2i7jDbehoTURffL5BtmuEVscVf2PcQrceE0OJnWGjRA8dc29xAAE5EhQfsKl1w6D9NLJ3PB4VTXVDrIB8DJdsNLKk2tSCnL8JZ5V7la2gmQxOrQ5YV-iT_IYmcsFrMnlGrkJ14gg/s1600/helperblogger.com-twitter.png" /></a>
    <a href="https://plus.google.com/u/0/106851621955005208707">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfZh9b49WWvDTe1HyMiqBl3JEi6kw77SKXjwbWIHop9hmSwM1rqdMWsKAiqFp38759dGfLA7Z1f5BGAqtNGHl73S4BaxMKk0c9Pt2fP-Cztib2o5S8Mpt1GSjvYyYWiJfvI1u_OZU5HTY/s1600/helperblogger.com-google_plus.png" /></a>
    <a href="http://www.feeds.feedburner.com/helperbloggers/">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnAFfLnlyBr5DuyqtKQjeERcHInOXmd_Z3qPcygwriPxUocIyCuyQCb0CGcXtycLrbX87KY4ICIF3zFoZk4pjjVu_GgV6mf4b25RXaXKN3nk_aS236VZBWnP74cUN7Dm2zALwrVHj9Gi8/s1600/helperblogger.com-rss.png" /></a>
    <a href="http://www.youtube.com/101rashid/">
<img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_vF9xIZtqpNViKw2lM33xwUwthoYil7A98SP6ETTlNcWQ0KSSBwjy1Q9ezWaV5yIzOfxbVgDQui7fC4hO1FRSOGreXfVKmbuOkIelufgSfMcnLVoSM_1Klm29Hv5L2zdIJprnfXF5G7o/s1600/helperblogger.com-youtube.png" /></a>
</p></center>


Now replace highlighted lines with your social profile URL.

Finally save your widget and you are done :)

3 comments:

 
Top