Sudah mempraktekan trik maknyus who want to be a master CSS3 khususnya mengenai blur dengan memakai transition variable! Bila baru sedikit ngeuh menempel di kepala sobat, saatnya digenjot lagi dengan hal serupa tetapi berbeda penerapan. Tau dong dengan yang namanya share and bookmark link, biasanya fitur ini guna berbagi (share) sebuah link ke seantero situs jejaring yang terkenal. Pokoknya itu lah sob :D tombol berbagi/bookmark :P
Kita pasangkan attribute transition opacity, dirangkai dengan ordered and unordered list variabel, pakai gambar dan juga sentuhan list hover style ;) Pokokke hasil akhir akan menggoda mata =P~
SAVE...liat hasil kerja :)
Kita pasangkan attribute transition opacity, dirangkai dengan ordered and unordered list variabel, pakai gambar dan juga sentuhan list hover style ;) Pokokke hasil akhir akan menggoda mata =P~
Demo
Waktu disorot, link lainnya serasa menghilang, pas dihover link share tujuannya terlihat jelas dan ada titlenya. Manis, indah, good kayak Beben Koben si bloglang anu ganteng kalem tea yah :">
Kode CSS
ul.techblaster-social {list-style: none;margin: 15px auto;display: inline-block;}
ul.techblaster-social li {display: inline;float: left;background-repeat: no-repeat;}
ul.techblaster-social li a {cursor: pointer;display:block;width: 48px;height: 48px;padding-right: 10px;position: relative;text-decoration: none;}
ul.techblaster-social li a strong {font-weight: normal;position: absolute;left: 20px;top: -1px;color: #fff;padding: 3px;z-index: 9999;text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);background-color: rgba(0, 0, 0, 0.7); -moz-border-radius: 3px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -webkit-border-radius: 3px;-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); border-radius: 3px;box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);}
ul.techblaster-social li.techblaster-facebook {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGVYYI7Tf01nSa-MogHxhjzqjvznN7RCBRiYzOgpDRyghAwDMu8bBoaT2D5vyClsCP5EHiK2HqI-bw8dFsh3nNB1-er4K8Gg9neWxWWtwlJT3vpvF2ZjCdwtGedOwvf9E4R7YXAFxVbxs/");}
ul.techblaster-social li.techblaster-twitter {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEissLQlAJ2u_GjPKoxNuhptjuf48PXydiUkCIWFi5rJyC3ZceLJ4AzBe2b67bjSJy7-Yyw1klyOb1acBg9Q8Eu4UH4KVneWcKPhbGqIURQn145vv8pVVqxjn8xy5T0ssqihRInEfH80DRQ/");}
ul.techblaster-social li.techblaster-googlebuzz {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_7So_LgRwohhvnuGRv2Hra89ehFE0dZRhnKBY0k2AKzWDHuFb1E8zvwkjjvphHSe_AithWZqHAfvYoSMs7CFWjE-RwdX1liBKsxBdCvuOUJMX4Mz9DUr4gTulv82m98DM-YJIkqNeENg/");}
ul.techblaster-social li.techblaster-stumbleupon {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghuo0xImD8NATZpKVotMa4rl96K_pPuosmnb59n3oMy4tSxnckbb0FXn8zBzD0aM5xRfe8lVgRTyDoZVuVdRHayCzolDG8BnFM8Se9gHSbZquS3KR7o-HBz_L-F726Ec0ljgRPX0Y7r90/");}
ul.techblaster-social li.techblaster-digg {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBc8fBgYeOVySuEooadXWZJmpnY-F64Vrgo4vh8HmI-p8rHyTd2Eiv3SfEfWd-OxctcTGc5805pQpLTzmSP_YcwIQu_Js01mRUVErPyLPrTOPQEcer1E_z6Bb9eeOtBxvt2BaTuY_jBxk/");}
ul.techblaster-social li.techblaster-delicious {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWPWpZbC2BwJQBdlbaWRtHTAin9NdUKtp36VQpCE8QL1hOols2pjGNPWhFtEujr6BlRi-uDyD4D4wfE1lL1OyUO9Coapq0NDWZMkfr3NR1R_L5cFW11Wn28Bb4sforMFz1mUBHevjB6Pg/");}
ul.techblaster-social li.techblaster-linkedin {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdLSpvsrLalM8ThgbQ9uDR_pIF4jQrMfcP0Kv167sAPchE09041Sl3SbfLepW2wV9kEoeNCIZ-EhBBKADnmul5u0sGdsTZe0VlEtSgoqJU6xHe08-zf7hOAy4kOGH37ZS3fWBrzuYv98/");}
ul.techblaster-social li.techblaster-reddit {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJqjolqhx9M8opanupF_lgn_pBClpZbXRQWYAH94pp2e1vgZJz4BoLcs9ziD47xjDsH0kP235IWnFq5P4QfHtlUO5P5nqkDo0CHYPRtefe9BK7gIIl1iwBaEJI9gPGeGcxtEh4Cej3Bl0/");}
ul.techblaster-social li.techblaster-technorati {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9LOQmhi1ZOaxFFIk6yANS_p0DSzbPGifwfCnicnUPukHmH0Ui8ZHMpukRwsGcHQ43Ncr-dPocATUI7cBw9YRldpMJ59twMhwi3tXCcxWfe281KsoUVQIm7RQyrPbRzkbEgtEzPO1kmus/");}
#techblaster-cssanime:hover li {opacity: 0.1;}
#techblaster-cssanime li {-webkit-transition-property: opacity; -webkit-transition-duration: 500ms;-moz-transition-property: opacity; -moz-transition-duration: 500ms;}
#techblaster-cssanime li a strong {opacity: 0; -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms; -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }
#techblaster-cssanime li:hover {opacity:1;}
#techblaster-cssanime li:hover a strong {opacity: 1;top: -30px;left: 0;}
ul.techblaster-social li {display: inline;float: left;background-repeat: no-repeat;}
ul.techblaster-social li a {cursor: pointer;display:block;width: 48px;height: 48px;padding-right: 10px;position: relative;text-decoration: none;}
ul.techblaster-social li a strong {font-weight: normal;position: absolute;left: 20px;top: -1px;color: #fff;padding: 3px;z-index: 9999;text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75);background-color: rgba(0, 0, 0, 0.7); -moz-border-radius: 3px; -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); -webkit-border-radius: 3px;-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); border-radius: 3px;box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);}
ul.techblaster-social li.techblaster-facebook {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGVYYI7Tf01nSa-MogHxhjzqjvznN7RCBRiYzOgpDRyghAwDMu8bBoaT2D5vyClsCP5EHiK2HqI-bw8dFsh3nNB1-er4K8Gg9neWxWWtwlJT3vpvF2ZjCdwtGedOwvf9E4R7YXAFxVbxs/");}
ul.techblaster-social li.techblaster-twitter {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEissLQlAJ2u_GjPKoxNuhptjuf48PXydiUkCIWFi5rJyC3ZceLJ4AzBe2b67bjSJy7-Yyw1klyOb1acBg9Q8Eu4UH4KVneWcKPhbGqIURQn145vv8pVVqxjn8xy5T0ssqihRInEfH80DRQ/");}
ul.techblaster-social li.techblaster-googlebuzz {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_7So_LgRwohhvnuGRv2Hra89ehFE0dZRhnKBY0k2AKzWDHuFb1E8zvwkjjvphHSe_AithWZqHAfvYoSMs7CFWjE-RwdX1liBKsxBdCvuOUJMX4Mz9DUr4gTulv82m98DM-YJIkqNeENg/");}
ul.techblaster-social li.techblaster-stumbleupon {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghuo0xImD8NATZpKVotMa4rl96K_pPuosmnb59n3oMy4tSxnckbb0FXn8zBzD0aM5xRfe8lVgRTyDoZVuVdRHayCzolDG8BnFM8Se9gHSbZquS3KR7o-HBz_L-F726Ec0ljgRPX0Y7r90/");}
ul.techblaster-social li.techblaster-digg {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBc8fBgYeOVySuEooadXWZJmpnY-F64Vrgo4vh8HmI-p8rHyTd2Eiv3SfEfWd-OxctcTGc5805pQpLTzmSP_YcwIQu_Js01mRUVErPyLPrTOPQEcer1E_z6Bb9eeOtBxvt2BaTuY_jBxk/");}
ul.techblaster-social li.techblaster-delicious {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWPWpZbC2BwJQBdlbaWRtHTAin9NdUKtp36VQpCE8QL1hOols2pjGNPWhFtEujr6BlRi-uDyD4D4wfE1lL1OyUO9Coapq0NDWZMkfr3NR1R_L5cFW11Wn28Bb4sforMFz1mUBHevjB6Pg/");}
ul.techblaster-social li.techblaster-linkedin {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVdLSpvsrLalM8ThgbQ9uDR_pIF4jQrMfcP0Kv167sAPchE09041Sl3SbfLepW2wV9kEoeNCIZ-EhBBKADnmul5u0sGdsTZe0VlEtSgoqJU6xHe08-zf7hOAy4kOGH37ZS3fWBrzuYv98/");}
ul.techblaster-social li.techblaster-reddit {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJqjolqhx9M8opanupF_lgn_pBClpZbXRQWYAH94pp2e1vgZJz4BoLcs9ziD47xjDsH0kP235IWnFq5P4QfHtlUO5P5nqkDo0CHYPRtefe9BK7gIIl1iwBaEJI9gPGeGcxtEh4Cej3Bl0/");}
ul.techblaster-social li.techblaster-technorati {background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9LOQmhi1ZOaxFFIk6yANS_p0DSzbPGifwfCnicnUPukHmH0Ui8ZHMpukRwsGcHQ43Ncr-dPocATUI7cBw9YRldpMJ59twMhwi3tXCcxWfe281KsoUVQIm7RQyrPbRzkbEgtEzPO1kmus/");}
#techblaster-cssanime:hover li {opacity: 0.1;}
#techblaster-cssanime li {-webkit-transition-property: opacity; -webkit-transition-duration: 500ms;-moz-transition-property: opacity; -moz-transition-duration: 500ms;}
#techblaster-cssanime li a strong {opacity: 0; -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms; -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; }
#techblaster-cssanime li:hover {opacity:1;}
#techblaster-cssanime li:hover a strong {opacity: 1;top: -30px;left: 0;}
Kode HTML
<b:if cond='data:blog.pageType == "item"'>
<ul class='techblaster-social' id='techblaster-cssanime'>
<li class='techblaster-facebook'>
<a expr:href='"http://www.facebook.com/share.php?v=4&src=bm&u=" + data: post.url + "&t=" + data: post.title ' onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436' ); return false;' rel='nofollow' title='Share this on Facebook'><strong>Facebook</strong></a>
</li>
<li class='techblaster-twitter'>
<a expr:href='"http://twitter.com/home?status=" + data: post.title + " -- " + data: post.url ' rel='nofollow' title='Tweet This!'><strong>Twitter</strong></a>
</li>
<li class='techblaster-googlebuzz'>
<a expr:href='"http://www.google.com/buzz/post?url=" + data: post.url + "&imageurl="' rel='nofollow' title='Post on GoogleBuzz'><strong>GoogleBuzz</strong></a>
</li>
<li class='techblaster-stumbleupon'>
<a expr:href='"http://www.stumbleupon.com/submit?url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Stumble upon something good? Share it on StumbleUpon'><strong>StumbleUpon</strong></a>
</li>
<li class='techblaster-digg'>
<a expr:href='"http://digg.com/submit?phase=2&url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Digg this!'><strong>Digg</strong></a>
</li>
<li class='techblaster-delicious'>
<a expr:href='"http://delicious.com/post?url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Share this on del.icio.us'><strong>Delicious</strong></a>
</li>
<li class='techblaster-linkedin'>
<a expr:href='"http://www.linkedin.com/shareArticle?mini=true&url=" + data: post.url + "&title=" + data: post.title + "&summary=&source="' rel='nofollow' title='Share this on LinkedIn'><strong>LinkedIn</strong></a>
</li>
<li class='techblaster-reddit'>
<a expr:href='"http://reddit.com/submit?url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Share this on Reddit'><strong>Reddit</strong></a>
</li>
<li class='techblaster-technorati'>
<a expr:href='"http://technorati.com/faves?add=" + data: post.url' rel='nofollow' title='Share this on Technorati'><strong>Technorati</strong></a>
</li>
</ul>
</b:if>
Koben gak akan kasih tauk kemana itu kode² harus ditaruhnya. Biasanya mah untuk kode HTML ditaruh dibawah code <data: post.body/><ul class='techblaster-social' id='techblaster-cssanime'>
<li class='techblaster-facebook'>
<a expr:href='"http://www.facebook.com/share.php?v=4&src=bm&u=" + data: post.url + "&t=" + data: post.title ' onclick='window.open(this.href,'sharer','toolbar=0,status=0,width=626,height=436' ); return false;' rel='nofollow' title='Share this on Facebook'><strong>Facebook</strong></a>
</li>
<li class='techblaster-twitter'>
<a expr:href='"http://twitter.com/home?status=" + data: post.title + " -- " + data: post.url ' rel='nofollow' title='Tweet This!'><strong>Twitter</strong></a>
</li>
<li class='techblaster-googlebuzz'>
<a expr:href='"http://www.google.com/buzz/post?url=" + data: post.url + "&imageurl="' rel='nofollow' title='Post on GoogleBuzz'><strong>GoogleBuzz</strong></a>
</li>
<li class='techblaster-stumbleupon'>
<a expr:href='"http://www.stumbleupon.com/submit?url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Stumble upon something good? Share it on StumbleUpon'><strong>StumbleUpon</strong></a>
</li>
<li class='techblaster-digg'>
<a expr:href='"http://digg.com/submit?phase=2&url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Digg this!'><strong>Digg</strong></a>
</li>
<li class='techblaster-delicious'>
<a expr:href='"http://delicious.com/post?url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Share this on del.icio.us'><strong>Delicious</strong></a>
</li>
<li class='techblaster-linkedin'>
<a expr:href='"http://www.linkedin.com/shareArticle?mini=true&url=" + data: post.url + "&title=" + data: post.title + "&summary=&source="' rel='nofollow' title='Share this on LinkedIn'><strong>LinkedIn</strong></a>
</li>
<li class='techblaster-reddit'>
<a expr:href='"http://reddit.com/submit?url=" + data: post.url + "&title=" + data: post.title ' rel='nofollow' title='Share this on Reddit'><strong>Reddit</strong></a>
</li>
<li class='techblaster-technorati'>
<a expr:href='"http://technorati.com/faves?add=" + data: post.url' rel='nofollow' title='Share this on Technorati'><strong>Technorati</strong></a>
</li>
</ul>
</b:if>
SAVE...liat hasil kerja :)
Loading... |
3 comments
DO NOT EVEN TRY ADD LINK [-X
You can use some HTML tags, such as
<b> - <i> - <a> - http://...jpg/gif/png/bmp - http://youtu.be/...