Sabtu, 05 Oktober 2013

Membuat widget sosial media di blog

Membuat widget sosial media di blog-nah kali ini saya ingin sedikit membagi bagaimana cara membuat widget sosial media seperti facebook.twitter,dan g+ di blog.
yap silahkan ikuti langkah-langkah berikut:
  • pertama login dulu ke blog anda
  • klik tata letak/tambahkan gadget/HTML java script
  • copas script di bawah
         <style>
    #BT_social {width: 260px;margin: 5px 20px;padding:5px;}#BT_social li {cursor: pointer;height: 48px;position: relative;list-style-type: none;}#BT_social .icon {background: #D91E76 url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv61w1Q8vDnfjLRzwnhBgTvRGwmIz7WINdXs9Y3OoWkrUzq77QLp51duy5eJiFrDE7I6T03_TAVxQBQUycer2wpve1KreTzqAKNoSgG-fOS03cS6MefIR-nAUbF5rRKF13-IEV6zLPsus/s1600/Social_Button.png') 0 0 no-repeat;background-color: rgba(217, 30, 118, .42);border-radius: 30px;display: block;color: #0033CC;float:none;height: 48px;line-height: 48px;margin: 5px 0;position: relative;text-align: left;text-indent: 90px;text-shadow: #333 0 1px 0;white-space: nowrap;width: 48px;z-index: 5;-webkit-transition: width .25s ease-in-out, background-color .25s ease-in-out;-moz-transition: width .25s ease-in-out, background-color .25s ease-in-out;-o-transition: width .25s ease-in-out, background-color .25s ease-in-out;transition: width .25s ease-in-out, background-color .25s ease-in-out;-webkit-box-shadow: rgba(0, 0, 0, .28) 0 2px 3px;-moz-box-shadow: rgba(0, 0, 0, .28) 0 2px 3px;-o-box-shadow: rgba(0, 0, 0, .28) 0 2px 3px;box-shadow: rgba(0, 0, 0, .28) 0 2px 3px;text-decoration: none;}
    #BT_social span:hover {visibility: hidden;}
    #BT_social span {display: block;top: 15px;position: absolute;left: 90px;}
    #BT_social .icon {color: #fafafa;overflow: hidden;}
    #BT_social .fb {background-color: rgba(45, 118, 185, .42);background-position: 0 -190px;}
    #BT_social .twit {background-color: rgba(0, 161, 223, .42);background-position: 0 -238px;}
    #BT_social .google {background-color: rgba(167, 0, 0, .42);background-position: 0 -286px;}
    #BT_social .rss {background-color: rgba(204, 0, 0, .42);background-position: 0 -333px;}
    #BT_social li:hover .icon {width: 250px;}
    #BT_social li:hover .icon {background-color: #d91e76;}
    #BT_social li:hover .fb {background-color: #2d76b9;background-position: 0 2px;}
    #BT_social li:hover .twit {background-color: #00A1DF;background-position: 0 -46px;}
    #BT_social li:hover .google {background-color: #A70000;background-position: 0 -94px;}
    #BT_social li:hover .rss {background-color: #EC5601;background-position: 0 -142px;}
    #BT_social .icon:active {bottom: -2px;-webkit-box-shadow: none;-moz-box-shadow: none;-o-box-shadow: none;}
    </style>
    <br />
    <ul id="BT_social">
<li><a class="icon fb" href="http://www.facebook.com/username">Like us on Facebook</a>Like us on Facebook </li>
<li><a class="icon twit" href="https://twitter.com/username">Follow us on Twitter</a>Follow us on Twitter </li>
<li><a class="icon google" href="https://plus.google.com/UserId">Follow us on Google+</a>Follow us on Google+ </li>
</ul>





  • simpan setelan
  • hasilnya seperti ini


nb: 
setelah copas ganti username fb,twitter,dan user id dengan punya anda,


-semoga bermanfaat-







Tidak ada komentar:

Posting Komentar