Spinning Social Media Icon, disini saya akan membahas bagaimana cara membuat sebuah widget social media dengan icon ditambah saat pointer mouse diarahkan ke icon tersebut, icon tersebut akan memutar.
Cara membuat :
1. Login ke blog kamu.
2. Pilih Rancangan > Edit HTML > Expand Widget Template > Cari kode ]]></b:skin>
3. Setelah ketemu, letakan kode di bawah ini tepat di atas kode yang dicetak tebal tadi.
/* Spinning Social Media Icons by blazerracing.blogspot.com */
.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;
}
.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;
}
.twitter{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUZ9qMa1bLmZOIZPgRTuZEvowZZahqTbkOLKUVEBM21jPYoX9ksk0eFnyMJtYqKX7eNmayLavhwTrt9q2INM0LOV_SJS4KXhrtIw67INgWUuWZ6hO0jsi8ZW1hiGB2hhv0w9iSBdLN7vk/s1600/twitter_32.png'); }
.delicious{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg5TMDnQuGlRPqNJHStJLlIDfR7MXtnb3V1XX2UopDCrloZC-_yhcjyOD-yCuPkbS7cy9vnOM1ItNeODaqBqeK1ZKDobeSk580k9gpCM1pkd0Q3B-pUOsMsr6KJV-Ps0pWFuD1IbMspRY/s1600/delicious_32.png'); }
.digg{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWA9hwKFS1f2N9x17ubJgkQQBsPEF6VqFGfCtfT3X3PPPhywItW4RPJZlFXpcYvjbTILY728TKfYgYr_7uRHkvj_b22LyIQqD7fbKpGHOOzRIe2KISWnA9vrfeq4tXf724Hjiz4Vhw274/s1600/digg_32.png'); }
.dribbble{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhclyhI2LT30BD_oGH5I7ApUjzJxfDXw4_wmbjn38n6onNpn9t_Q2x3_Q5LvnWnsTe0Uz6ysLp5ZODAkQdvjWX9zqEStdJL4TO1AbbP86-svjmy75XzZ6ORyr4JtetwNY5gC_GcFxayfzU/s1600/dribbble_32.png'); }
.email{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxgl6c1T0aDC_ftUZF66zAQiIBP1Ec-Dj69lrnaeTnFBQScnN8-9hKcQgvSmS1JsrqNjugng11UBnsWgTfRul-KKztjVrUlyJpvwCFzaZhWNZahxd3p1WeER1DkY8sVAVnb1-UFpNQTek/s1600/email_32.png'); }
.facebook{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDI26k3fOY-lYtHbqF011J-f-tiYnN4bk6WZ0w8Se1b8I-Xj4DqPlE3f4Ru9MLWcT4Nxfom-y29bVuG4J3ex8Q-swiQoMoWkkI05EGVPV0SRa3dII7og6vvK88sHmYJxZevoXNAU59pV8/s1600/facebook_32.png'); }
.flickr{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVsffKYtQKyh4OWUaqy83MzzQkE8aFUNo455qQlfKKD6PPuc156ohxSTPJgGOZkwouBRSbsHSt30v8Yubb3LetRaIwE43_Is4DHUuudbVio2r_uA3p8Y-pOljvpI7uHe9pDFzkOBPgG1E/s1600/flickr_32.png'); }
.foursquare{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK2aWg4PEEXwrcOAuRP1k-c3hFY8yF2CylGmf3NfOOxQlPwqj7zHMOqNb7vAB9ZZuUBm1kyKN-UhiKuAft8XNjWCucXZqdOP20knx0rSHBgMKSnUe9ieOJ8NFLZm6FnK0kR_fBtYcszls/s1600/foursquare_32.png'); }
.linkedin{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpZrHj29wuiimv0PdVXrDNkXRfouw6PCZwWqYrcZniFcskN_E7WRGHIE-ZLncHoku0DeIBR6bPJBfIM0yY6xYKPKytJ4bs_Budo32BhCedsgyBCiuBk4GtE34GtgWr3X8rJaw0frezSnQ/s1600/linkedin_32.png'); }
.rss{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbnqWtDB-0BUAhWaiBS_keDYfJr1CZbfx5c8O31HeuIsSoZcnCPKcWxbHPO9zSVuPErkuyArwzd53dKDHhvDBHErjI36OPrsCJMAoBlNADmg9aNdPmsnLX4jDqMc1jCD_dML1ck01yuuc/s1600/rss_32.png'); }
.stumbleupon{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPIucmMurlKPLBXu9Z6_CVNEOxKuJ5kTtCDnPU5AGp1fycc4_N8WKgcoP7pR1Hr5CML-DHt8ggPtAR7uxjtGxLuMxwcRc-mjiyLffmbld4xB5xmgbrnQLYs8gszgkFYaxVjKC8Dw1BXYk/s1600/stumbleupon_32.png'); }
.youtube{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF5nB7fBYz6tLc3JltwVPc6s9kBjvXVdkrw_35i_FAiLvko0O8HMKyiv6R8WDnOBHrTDOiLE7mAcTNSyp1_CneJ5UC2OvzEtu-kLNEGbdwgBjJt85qCZLru4KmEgnV8UbPhMjPx5Pt2To/s1600/youtube_32.png'); }
/* Spinning Social Media Icons by blazerracing.blogspot.com */
Jangan Edit kode di atas atau ga akan bekerja.
4. Selanjutnya cari kode <div class='post-footer'> jika tidak ada cari kode <data:post.body/> setelah ketemu letakan kode di bawah ini tepat di bawah kode yang di vetak tebal.
4. Selanjutnya cari kode <div class='post-footer'> jika tidak ada cari kode <data:post.body/> setelah ketemu letakan kode di bawah ini tepat di bawah kode yang di vetak tebal.
<!--Start Social Media Icons from blazerracing.blogspot.com -->
<b:if cond='data:blog.pageType == "item"'>
<div class="spinning_icons">
<a href="http://www.twitter.com/social profile" class="twitter" title="twitter">Twitter</a>
<a href="http://www.delicious.com/social profile" class="delicious" title="delicious">Delicious</a>
<a href="http://www.digg.com/social profile" class="digg" title="digg">Digg</a>
<a href="http://wwww.dribbble.com/social profile" class="dribbble" title="dribbble">Dribbble</a>
<a href="http://feedburner.google.com/fb/a/mailverify?uri=social profile" class="email" title="email">Email</a>
<a href="https://www.facebook.com/social profile" class="facebook" title="facebook">Facebook</a>
<a href="http://www.flickr.com/social profile" class="flickr" title="flickr">Flickr</a>
<a href="https://foursquare.com/social profile" class="foursquare" title="foursquare">Foursquare</a>
<a href="http://in.linkedin.com/social profile" class="linkedin" title="linkedin">Linkedin</a>
<a href="http://feeds.feedburner.com/social profile" class="rss" title="rss">RSS</a>
<a href="http://www.stumbleupon.com/social profile" class="stumbleupon" title="stumbleupon">Stumbleupon</a>
<a href="http://www.youtube.com/social profile" class="youtube" title="youtube">YouTube</a>
</div>
</b:if>
<!-- End Social Media Icons from blazerracing.blogspot.com -->
Ganti kata Social profile dengan username dari masing-masing social media, jika ada salah satu belum punya kosongkan saja, tapi kalau untuk Facebook dan Twitter pasti sudah punya.