Friday, April 25, 2014

Widget Unik Metro UI Drop Down Sliding



widget unik metro ui


Widget Unik Metro Drop Down Sliding - Seperti artikel sebelumnya tentang tips widget navigasi unik metro ui, pada kesempatan kali ini saya akan memberikan tips yang sama tentang widget unik khususnya untuk template blog metro. Dan untuk tampilan ini saya berharap dapat memberikan warna yang berbeda dan lebih unik bagi para pengguna blog yang bernuansa blog Metro UI style.

Nah udah lihat kan...??? lalu kita lanjutkan untuk cara pemasangan di blog, langsung aja silakan ikuti langkah - langkah berikut ini  : 
Masuk ke Edit HTML >> Expand Template >> ( Tekan CTRL+A, CTRL+C, DEL, CTRL+V )
Kemudian Masukkan kode CSS dibawah ini sebelum kode [[ </b:skin>
.samsury-tab1{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhefNwJGgZk8clLrgJ6Q03L3GmpjSUGQq_-oQ6vtreepit4gvJnjXGgEehGOTf97PuXUy59R8dP6vFxTj8KBuqHjx-TxwBx64FvvNdSwrCi5TkFq8ajS_lHwXf9S41mBu30k4tBd8f8YHc/h120/home.png) no-repeat center center #277599;}

.samsury-tab1:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhefNwJGgZk8clLrgJ6Q03L3GmpjSUGQq_-oQ6vtreepit4gvJnjXGgEehGOTf97PuXUy59R8dP6vFxTj8KBuqHjx-TxwBx64FvvNdSwrCi5TkFq8ajS_lHwXf9S41mBu30k4tBd8f8YHc/h120/home.png) no-repeat center center #de0000;}

.samsury-fb{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtlXDdOU4gRf12-s14c3uvH9KAZh0beopUOHxIIy4_3tao86cDgS_m3YzkPeyfCCGukkZksc00iBfAsxgcW_UhSX0ZEK-hc4FlcXK79fDUgxyrBKTYqrO4Pl77GIneMnvw-PuRdu7x1qQ/s1600/facebook2.png) no-repeat center center #2A82D9;}

.samsury-fb:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtlXDdOU4gRf12-s14c3uvH9KAZh0beopUOHxIIy4_3tao86cDgS_m3YzkPeyfCCGukkZksc00iBfAsxgcW_UhSX0ZEK-hc4FlcXK79fDUgxyrBKTYqrO4Pl77GIneMnvw-PuRdu7x1qQ/s1600/facebook2.png) no-repeat center center #1f69b3;}

.samsury-tw{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1xzvCyE9u3hOnVG_9yKGaJU__8ugdgOI_f5zHMzfwQCPSkN_NIaL9v_9_mHX5FpDlVZ1XruUL3CJmqbZEMI363qWUDoc6-9SssBZ1oZu8bdmW-wEqPOHlDe2CbB7l8L2HtkxLXLs5-oI/h120/twitter-bird-dark-bgs.png) no-repeat center center #0CA8F0;}

.samsury-tw:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1xzvCyE9u3hOnVG_9yKGaJU__8ugdgOI_f5zHMzfwQCPSkN_NIaL9v_9_mHX5FpDlVZ1XruUL3CJmqbZEMI363qWUDoc6-9SssBZ1oZu8bdmW-wEqPOHlDe2CbB7l8L2HtkxLXLs5-oI/h120/twitter-bird-dark-bgs.png) no-repeat center center #43b3e5;}

.samsury-g{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNICu-HHCRDe7wlboYMmlVs0XgJloYlM4B4WLh94BD13xL7h-mZXOLBMyxBUX_BUVdD42mTS-p3hlP3HZ__ae0pf1GmMPSQ57BDZwTNn-OaxXmV2bLmaM8EFxTA3dzh16zWxUtySQHDE/s1600/google+plus2.png) no-repeat center center #DC321E;}

.samsury-g:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNICu-HHCRDe7wlboYMmlVs0XgJloYlM4B4WLh94BD13xL7h-mZXOLBMyxBUX_BUVdD42mTS-p3hlP3HZ__ae0pf1GmMPSQ57BDZwTNn-OaxXmV2bLmaM8EFxTA3dzh16zWxUtySQHDE/s1600/google+plus2.png) no-repeat center center #c53727;}

.samsury-rss{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-MuGJSRmcwUpFiFgsf61vhPHJt9a7aD80-rPPJXlPlGfhsDHEpKISNkQO3QNPdsushjcS-DOttOdgpZxpE_nQo_Q1UQ1e2-v5VR4qQmXGAlDqnMmWJf17g6fE9YPbA37tzgSIl43QwY/s1600/feed2.png) no-repeat center center #E9A01C;}

.samsury-rss:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-MuGJSRmcwUpFiFgsf61vhPHJt9a7aD80-rPPJXlPlGfhsDHEpKISNkQO3QNPdsushjcS-DOttOdgpZxpE_nQo_Q1UQ1e2-v5VR4qQmXGAlDqnMmWJf17g6fE9YPbA37tzgSIl43QwY/s1600/feed2.png) no-repeat center center #F9A914;}

.samsury-tab2{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJT9e-Ul1LT3O-8nOaPOakhsxxryXAUZug3B0G2O-hR3QvQJGEBGfl7sNwJlm42bKKhTjtVwj32zRdMqzPYUCetAovcF8LI9aCOGzHYU90xFX5wRxkhsTgiHBx59Bc5tZG7jO6PxXdhk/h120/Tag.png) no-repeat center center #ff8c00;}

.samsury-tab2:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJT9e-Ul1LT3O-8nOaPOakhsxxryXAUZug3B0G2O-hR3QvQJGEBGfl7sNwJlm42bKKhTjtVwj32zRdMqzPYUCetAovcF8LI9aCOGzHYU90xFX5wRxkhsTgiHBx59Bc5tZG7jO6PxXdhk/h120/Tag.png) no-repeat center center #1d943b;}

.samsury-tab2sub{background: #ff8c00;}

.samsury-tab2sub:hover{background: #1d943b;}

.samsury-tab3{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVRdaS-NcRUxb3BQl6atBVhXlXK31uchVzY74BlvNEup7n-UieJ8Y-UArqn3ULZoJkSvurY7CeUtyBWwYhhLsHC-hjEEXmc8DOiQwgNNyqEBqmE1tCzOpObOXO8zKliQMVaoIghYhq6I0/h120/archives.png) no-repeat center center #265f27;}

.samsury-tab3:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVRdaS-NcRUxb3BQl6atBVhXlXK31uchVzY74BlvNEup7n-UieJ8Y-UArqn3ULZoJkSvurY7CeUtyBWwYhhLsHC-hjEEXmc8DOiQwgNNyqEBqmE1tCzOpObOXO8zKliQMVaoIghYhq6I0/h120/archives.png) no-repeat center center #007f74;}

.samsury-tab3sub{background: #ff8c00;
height:70px;}

.samsury-tab3sub:hover{background: #007f74;}

.samsury-tab4{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCsBjbQ-aie2sVMOw-e9hR52m2hx0YLuh-r3-3OZki3wLkngd8fDiqYGSoeapb0NcLrIqDG2JBTX56HMgHG52HsXP2pKzkQ76msascLv8ClRbn-5ssS5pyLd3n0O8-iWTB-s3aRW-ZxY/h120/contact.png) no-repeat center center #d84a38;}

.samsury-tab4:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCsBjbQ-aie2sVMOw-e9hR52m2hx0YLuh-r3-3OZki3wLkngd8fDiqYGSoeapb0NcLrIqDG2JBTX56HMgHG52HsXP2pKzkQ76msascLv8ClRbn-5ssS5pyLd3n0O8-iWTB-s3aRW-ZxY/h120/contact.png) no-repeat center center #007f74;}

.samsury-tab4sub{background: #d84a38;}

.samsury-tab4sub:hover{background: #007f74;}

.samsury-tab5{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJTf57BcFuny8-_NPi-hAgARYpHF9sGdGTrPrtIeXEwDRpxtgE6mu3eBq6iVqioxMZGmgwdwIN4HXMDCuSxu9W6PC6snaVnPD6gaF9fuO9xfgE5gcKo7YM7eOMLjXhG29dKysk1kxXdg/h120/Menu.png) no-repeat center center #555;}

.samsury-tab5:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJTf57BcFuny8-_NPi-hAgARYpHF9sGdGTrPrtIeXEwDRpxtgE6mu3eBq6iVqioxMZGmgwdwIN4HXMDCuSxu9W6PC6snaVnPD6gaF9fuO9xfgE5gcKo7YM7eOMLjXhG29dKysk1kxXdg/h120/Menu.png) no-repeat center center #222;}

.samsury-metro-menu {font-family: Helvetica,Arial,sans-serif;
    font-size: 11px;
    position:relative;
    background:none;
    width:500px;
    height:90px;
    border:none;
    margin:20px auto;
    padding:20px;
float:left;
}

ul.navi {
    position:relative;
    z-index:100;
    padding:0;
    margin:0 0 0 60px;
    list-style:none;
    width:auto;
    height:30px;
}

ul.navi > li {
    width:70px;
    height:70px;
    position:absolute;
    left:0;
    top:0;
    -moz-transition: -moz-transform 0.5s ease-in-out;
    -ms-transition: -ms-transform 0.5s ease-in-out;
    -o-transition: -o-transform 0.5s ease-in-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
}

ul.navi a {
    display:block;
    width:70px;
    height:70px;
    position:absolute;
    left:0;
    top:0;
    line-height:30px;
    text-align:center;
    text-decoration:none;
}

ul.navi a img {
    border:0;
}

ul.navi a span {
    position:relative;
    top:30%;
    font: 14px Segoe UI, Helvetica, Arial, sans-serif;
    color:#fff;
}

ul.navi:hover {
    height:200px;}

ul.navi:hover li#n1 {
    -moz-transform: translatex(0px);
    -ms-transform: translatex(0px);
    -o-transform: translatex(0px);
    -webkit-transform: translatex(0px);
    transform: translatex(0px);
}

ul.navi:hover li#n2 {
    -moz-transform: translatex(90px);
    -ms-transform: translatex(90px);
    -o-transform: translatex(90px);
    -webkit-transform: translatex(90px);
    transform: translatex(90px);
}

ul.navi:hover li#n3 {
    -moz-transform: translatex(180px);
    -ms-transform: translatex(180px);
    -o-transform: translatex(180px);
    -webkit-transform: translatex(180px);
    transform: translatex(180px);
}

ul.navi:hover li#n4 {
    -moz-transform: translatex(270px);
    -ms-transform: translatex(270px);
    -o-transform: translatex(270px);
    -webkit-transform: translatex(270px);
    transform: translatex(270px);
}

ul.navi:hover li#n5 {
    -moz-transform: translatex(360px);
    -ms-transform: translatex(360px);
    -o-transform: translatex(360px);
    -webkit-transform: translatex(360px);
    transform: translatex(360px);
}

ul.sub {
    padding:0;
    margin:0;
    list-style:none;
    width:100%;
    height:200px auto;
    position:absolute;
    left:0;
    top:0;
    z-index:-1;
    opacity:0;
    -moz-transition: opacity 0s linear 1s;
    -ms-transition: opacity 0s linear 1s;
    -o-transition: opacity 0s linear 1s;
    -webkit-transition: opacity 0s linear 1s;
    transition: opacity 0s linear 1s;
}

ul.sub li {
        width:80px auto;
       height:80px;
       position:absolute;
       left:0;
      top:0;
      z-index:-1;
    -moz-transition: -moz-transform 0.5s ease-in-out 0.5s;
    -ms-transition: -ms-transform 0.5s ease-in-out 0.5s;
    -o-transition: -o-transform 0.5s ease-in-out 0.5s;
    -webkit-transition: -webkit-transform 0.5s ease-in-out 0.5s;
    transition: transform 0.5s ease-in-out 0.5s;
}

ul.navi > li:hover ul {
    opacity:1;
    -moz-transition: opacity 0s linear 0.5s;
    -ms-transition: opacity 0s linear 0.5s;
    -o-transition: opacity 0s linear 0.5s;
    -webkit-transition: opacity 0s linear 0.5s;
    transition: opacity 0s linear 0.5s;
}

ul.navi li:hover ul li.l {
    -moz-transform: translatex(-70px) translatey(90px);
    -ms-transform: translatex(-70px) translatey(90px);
    -o-transform: translatex(-70px) translatey(90px);
    -webkit-transform: translatex(-70px) translatey(90px);
    transform: translatex(-70px) translatey(90px);
}

ul.navi li:hover ul li.c {
    -moz-transform: translatex(2px) translatey(90px);
    -ms-transform: translatex(2px) translatey(90px);
    -o-transform: translatex(2px) translatey(90px);
    -webkit-transform: translatex(2px) translatey(90px);
    transform: translatex(2px) translatey(90px);
}

ul.navi li:hover ul li.r {
    -moz-transform: translatex(74px) translatey(90px);
    -ms-transform: translatex(74px) translatey(90px);
    -o-transform: translatex(74px) translatey(90px);
    -webkit-transform: translatex(74px) translatey(90px);
    transform: translatex(74px) translatey(90px);
}

ul.navi li:hover ul li.r1 {
    -moz-transform: translatex(146px) translatey(90px);
    -ms-transform: translatex(146px) translatey(90px);
    -o-transform: translatex(146px) translatey(90px);
    -webkit-transform: translatex(146px) translatey(90px);
    transform: translatex(146px) translatey(90px);
}


Kemudian Masuk ke Layout >> Add Gadget >> HTML/Javascript dan masukkan kode dibawah ini :

<div class="samsury-metro-menu">
<ul class="navi">
 <li id="n1"><a class="samsury-tab1" href="#" title="HOME" ></a>
<ul class="sub">
 <li class="l"><a class="samsury-fb" href="#" title="FACEBOOK"></a></li>
 <li class="c"><a class="samsury-tw" href="#" title="TWITTER"></a></li>
  <li class="r"><a class="samsury-g" href="#" title="GOOGLE +"></a></li>
<li class="r1"><a class="samsury-rss" href="#" title="RSS FEED"></a></li>
</ul>
</li>
<li id="n2"><a class="samsury-tab2" href="#" title="LABEL" ></a>
<ul class="sub">
<li class="l"><a class="samsury-tab2sub" href="#" title="label 1"><span>LABEL 1</span></a></li>
<li class="c"><a class="samsury-tab2sub" href="#" title="label 2"><span>LABEL 2</span></a></li>
 <li class="r"><a class="samsury-tab2sub" href="#" title="label 3"><span>LABEL 3</span></a></li>
<li class="r1"><a class="samsury-tab2sub" href="#" title="label 4"><span>LABEL 4</span></a></li>
</ul>
</li>
<li id="n3"><a class="samsury-tab3" href="#" title="ARCHIVE" ></a>
<ul class="sub">
<li class="l"><a class="samsury-tab3sub" href="#"><span>ARSIP 1</span></a></li>
<li class="c"><a class="samsury-tab3sub" href="#"><span>ARSIP 2</span></a></li>
<li class="r"><a class="samsury-tab3sub" href="#"><span>ARSIP 3</span></a></li>
<li class="r1"><a class="samsury-tab3sub" href="#"><span>ARSIP 4</span></a></li>
</ul>
</li>
<li id="n4"><a class="samsury-tab4" href="#" title="PARTNER LINK" ></a>
<ul class="sub">
<li class="l"><a class="samsury-tab4sub" href="#"><span>LINK 1</span></a></li>
<li class="c"><a class="samsury-tab4sub" href="#"><span>LINK 2</span></a></li>
<li class="r1"><a class="samsury-tab4sub" href="#"><span>LINK 3</span></a></li>
<li class="r"><a class="samsury-tab4sub" href="#"><span>LINK 4</span></a></li>
</ul>
</li>
<li id="n5"><a class="samsury-tab5" href="#" ><span></span></a>
</li>
</ul>
<div style="clear:both"></div>
</div>

Note : Ganti tanda # warna merah sesuai data - data blog anda
Atau jika anda ingin langsung menampilkannya dalam widget dan ga perlu repot - repot masuk ke template blog, anda bisa langsung copas kode dibawah ini ke Add Gadget >> HTML/javascript. Dengan cara ini saya rasa lebih praktis dan efisien karena jika kita tidak menginginkannya lagi tinggal hapus saja.

Berikut ini adalah kodenya :

<style type='text/css'>
.samsury-tab1{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhefNwJGgZk8clLrgJ6Q03L3GmpjSUGQq_-oQ6vtreepit4gvJnjXGgEehGOTf97PuXUy59R8dP6vFxTj8KBuqHjx-TxwBx64FvvNdSwrCi5TkFq8ajS_lHwXf9S41mBu30k4tBd8f8YHc/h120/home.png) no-repeat center center #277599;}

.samsury-tab1:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhefNwJGgZk8clLrgJ6Q03L3GmpjSUGQq_-oQ6vtreepit4gvJnjXGgEehGOTf97PuXUy59R8dP6vFxTj8KBuqHjx-TxwBx64FvvNdSwrCi5TkFq8ajS_lHwXf9S41mBu30k4tBd8f8YHc/h120/home.png) no-repeat center center #de0000;}

.samsury-fb{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtlXDdOU4gRf12-s14c3uvH9KAZh0beopUOHxIIy4_3tao86cDgS_m3YzkPeyfCCGukkZksc00iBfAsxgcW_UhSX0ZEK-hc4FlcXK79fDUgxyrBKTYqrO4Pl77GIneMnvw-PuRdu7x1qQ/s1600/facebook2.png) no-repeat center center #2A82D9;}

.samsury-fb:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtlXDdOU4gRf12-s14c3uvH9KAZh0beopUOHxIIy4_3tao86cDgS_m3YzkPeyfCCGukkZksc00iBfAsxgcW_UhSX0ZEK-hc4FlcXK79fDUgxyrBKTYqrO4Pl77GIneMnvw-PuRdu7x1qQ/s1600/facebook2.png) no-repeat center center #1f69b3;}

.samsury-tw{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1xzvCyE9u3hOnVG_9yKGaJU__8ugdgOI_f5zHMzfwQCPSkN_NIaL9v_9_mHX5FpDlVZ1XruUL3CJmqbZEMI363qWUDoc6-9SssBZ1oZu8bdmW-wEqPOHlDe2CbB7l8L2HtkxLXLs5-oI/h120/twitter-bird-dark-bgs.png) no-repeat center center #0CA8F0;}

.samsury-tw:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1xzvCyE9u3hOnVG_9yKGaJU__8ugdgOI_f5zHMzfwQCPSkN_NIaL9v_9_mHX5FpDlVZ1XruUL3CJmqbZEMI363qWUDoc6-9SssBZ1oZu8bdmW-wEqPOHlDe2CbB7l8L2HtkxLXLs5-oI/h120/twitter-bird-dark-bgs.png) no-repeat center center #43b3e5;}

.samsury-g{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNICu-HHCRDe7wlboYMmlVs0XgJloYlM4B4WLh94BD13xL7h-mZXOLBMyxBUX_BUVdD42mTS-p3hlP3HZ__ae0pf1GmMPSQ57BDZwTNn-OaxXmV2bLmaM8EFxTA3dzh16zWxUtySQHDE/s1600/google+plus2.png) no-repeat center center #DC321E;}

.samsury-g:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieNICu-HHCRDe7wlboYMmlVs0XgJloYlM4B4WLh94BD13xL7h-mZXOLBMyxBUX_BUVdD42mTS-p3hlP3HZ__ae0pf1GmMPSQ57BDZwTNn-OaxXmV2bLmaM8EFxTA3dzh16zWxUtySQHDE/s1600/google+plus2.png) no-repeat center center #c53727;}

.samsury-rss{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-MuGJSRmcwUpFiFgsf61vhPHJt9a7aD80-rPPJXlPlGfhsDHEpKISNkQO3QNPdsushjcS-DOttOdgpZxpE_nQo_Q1UQ1e2-v5VR4qQmXGAlDqnMmWJf17g6fE9YPbA37tzgSIl43QwY/s1600/feed2.png) no-repeat center center #E9A01C;}

.samsury-rss:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-MuGJSRmcwUpFiFgsf61vhPHJt9a7aD80-rPPJXlPlGfhsDHEpKISNkQO3QNPdsushjcS-DOttOdgpZxpE_nQo_Q1UQ1e2-v5VR4qQmXGAlDqnMmWJf17g6fE9YPbA37tzgSIl43QwY/s1600/feed2.png) no-repeat center center #F9A914;}

.samsury-tab2{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJT9e-Ul1LT3O-8nOaPOakhsxxryXAUZug3B0G2O-hR3QvQJGEBGfl7sNwJlm42bKKhTjtVwj32zRdMqzPYUCetAovcF8LI9aCOGzHYU90xFX5wRxkhsTgiHBx59Bc5tZG7jO6PxXdhk/h120/Tag.png) no-repeat center center #ff8c00;}

.samsury-tab2:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJT9e-Ul1LT3O-8nOaPOakhsxxryXAUZug3B0G2O-hR3QvQJGEBGfl7sNwJlm42bKKhTjtVwj32zRdMqzPYUCetAovcF8LI9aCOGzHYU90xFX5wRxkhsTgiHBx59Bc5tZG7jO6PxXdhk/h120/Tag.png) no-repeat center center #1d943b;}

.samsury-tab2sub{background: #ff8c00;}

.samsury-tab2sub:hover{background: #1d943b;}

.samsury-tab3{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVRdaS-NcRUxb3BQl6atBVhXlXK31uchVzY74BlvNEup7n-UieJ8Y-UArqn3ULZoJkSvurY7CeUtyBWwYhhLsHC-hjEEXmc8DOiQwgNNyqEBqmE1tCzOpObOXO8zKliQMVaoIghYhq6I0/h120/archives.png) no-repeat center center #265f27;}

.samsury-tab3:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVRdaS-NcRUxb3BQl6atBVhXlXK31uchVzY74BlvNEup7n-UieJ8Y-UArqn3ULZoJkSvurY7CeUtyBWwYhhLsHC-hjEEXmc8DOiQwgNNyqEBqmE1tCzOpObOXO8zKliQMVaoIghYhq6I0/h120/archives.png) no-repeat center center #007f74;}

.samsury-tab3sub{background: #ff8c00;
height:70px;}

.samsury-tab3sub:hover{background: #007f74;}

.samsury-tab4{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCsBjbQ-aie2sVMOw-e9hR52m2hx0YLuh-r3-3OZki3wLkngd8fDiqYGSoeapb0NcLrIqDG2JBTX56HMgHG52HsXP2pKzkQ76msascLv8ClRbn-5ssS5pyLd3n0O8-iWTB-s3aRW-ZxY/h120/contact.png) no-repeat center center #d84a38;}

.samsury-tab4:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCsBjbQ-aie2sVMOw-e9hR52m2hx0YLuh-r3-3OZki3wLkngd8fDiqYGSoeapb0NcLrIqDG2JBTX56HMgHG52HsXP2pKzkQ76msascLv8ClRbn-5ssS5pyLd3n0O8-iWTB-s3aRW-ZxY/h120/contact.png) no-repeat center center #007f74;}

.samsury-tab4sub{background: #d84a38;}

.samsury-tab4sub:hover{background: #007f74;}

.samsury-tab5{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJTf57BcFuny8-_NPi-hAgARYpHF9sGdGTrPrtIeXEwDRpxtgE6mu3eBq6iVqioxMZGmgwdwIN4HXMDCuSxu9W6PC6snaVnPD6gaF9fuO9xfgE5gcKo7YM7eOMLjXhG29dKysk1kxXdg/h120/Menu.png) no-repeat center center #555;}

.samsury-tab5:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWJTf57BcFuny8-_NPi-hAgARYpHF9sGdGTrPrtIeXEwDRpxtgE6mu3eBq6iVqioxMZGmgwdwIN4HXMDCuSxu9W6PC6snaVnPD6gaF9fuO9xfgE5gcKo7YM7eOMLjXhG29dKysk1kxXdg/h120/Menu.png) no-repeat center center #222;}

.samsury-metro-menu {font-family: Helvetica,Arial,sans-serif;
    font-size: 11px;
    position:relative;
    background:none;
    width:500px;
    height:90px;
    border:none;
    margin:20px auto;
    padding:20px;
float:left;
}

ul.navi {
    position:relative;
    z-index:100;
    padding:0;
    margin:0 0 0 60px;
    list-style:none;
    width:auto;
    height:30px;
}

ul.navi > li {
    width:70px;
    height:70px;
    position:absolute;
    left:0;
    top:0;
    -moz-transition: -moz-transform 0.5s ease-in-out;
    -ms-transition: -ms-transform 0.5s ease-in-out;
    -o-transition: -o-transform 0.5s ease-in-out;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
}

ul.navi a {
    display:block;
    width:70px;
    height:70px;
    position:absolute;
    left:0;
    top:0;
    line-height:30px;
    text-align:center;
    text-decoration:none;
}

ul.navi a img {
    border:0;
}

ul.navi a span {
    position:relative;
    top:30%;
    font: 14px Segoe UI, Helvetica, Arial, sans-serif;
    color:#fff;
}

ul.navi:hover {
    height:200px;}

ul.navi:hover li#n1 {
    -moz-transform: translatex(0px);
    -ms-transform: translatex(0px);
    -o-transform: translatex(0px);
    -webkit-transform: translatex(0px);
    transform: translatex(0px);
}

ul.navi:hover li#n2 {
    -moz-transform: translatex(90px);
    -ms-transform: translatex(90px);
    -o-transform: translatex(90px);
    -webkit-transform: translatex(90px);
    transform: translatex(90px);
}

ul.navi:hover li#n3 {
    -moz-transform: translatex(180px);
    -ms-transform: translatex(180px);
    -o-transform: translatex(180px);
    -webkit-transform: translatex(180px);
    transform: translatex(180px);
}

ul.navi:hover li#n4 {
    -moz-transform: translatex(270px);
    -ms-transform: translatex(270px);
    -o-transform: translatex(270px);
    -webkit-transform: translatex(270px);
    transform: translatex(270px);
}

ul.navi:hover li#n5 {
    -moz-transform: translatex(360px);
    -ms-transform: translatex(360px);
    -o-transform: translatex(360px);
    -webkit-transform: translatex(360px);
    transform: translatex(360px);
}

ul.sub {
    padding:0;
    margin:0;
    list-style:none;
    width:100%;
    height:200px auto;
    position:absolute;
    left:0;
    top:0;
    z-index:-1;
    opacity:0;
    -moz-transition: opacity 0s linear 1s;
    -ms-transition: opacity 0s linear 1s;
    -o-transition: opacity 0s linear 1s;
    -webkit-transition: opacity 0s linear 1s;
    transition: opacity 0s linear 1s;
}

ul.sub li {
        width:80px auto;
       height:80px;
       position:absolute;
       left:0;
      top:0;
      z-index:-1;
    -moz-transition: -moz-transform 0.5s ease-in-out 0.5s;
    -ms-transition: -ms-transform 0.5s ease-in-out 0.5s;
    -o-transition: -o-transform 0.5s ease-in-out 0.5s;
    -webkit-transition: -webkit-transform 0.5s ease-in-out 0.5s;
    transition: transform 0.5s ease-in-out 0.5s;
}

ul.navi > li:hover ul {
    opacity:1;
    -moz-transition: opacity 0s linear 0.5s;
    -ms-transition: opacity 0s linear 0.5s;
    -o-transition: opacity 0s linear 0.5s;
    -webkit-transition: opacity 0s linear 0.5s;
    transition: opacity 0s linear 0.5s;
}

ul.navi li:hover ul li.l {
    -moz-transform: translatex(-70px) translatey(90px);
    -ms-transform: translatex(-70px) translatey(90px);
    -o-transform: translatex(-70px) translatey(90px);
    -webkit-transform: translatex(-70px) translatey(90px);
    transform: translatex(-70px) translatey(90px);
}

ul.navi li:hover ul li.c {
    -moz-transform: translatex(2px) translatey(90px);
    -ms-transform: translatex(2px) translatey(90px);
    -o-transform: translatex(2px) translatey(90px);
    -webkit-transform: translatex(2px) translatey(90px);
    transform: translatex(2px) translatey(90px);
}

ul.navi li:hover ul li.r {
    -moz-transform: translatex(74px) translatey(90px);
    -ms-transform: translatex(74px) translatey(90px);
    -o-transform: translatex(74px) translatey(90px);
    -webkit-transform: translatex(74px) translatey(90px);
    transform: translatex(74px) translatey(90px);
}

ul.navi li:hover ul li.r1 {
    -moz-transform: translatex(146px) translatey(90px);
    -ms-transform: translatex(146px) translatey(90px);
    -o-transform: translatex(146px) translatey(90px);
    -webkit-transform: translatex(146px) translatey(90px);
    transform: translatex(146px) translatey(90px);
}</style>


<div class="samsury-metro-menu">
<ul class="navi">
 <li id="n1"><a class="samsury-tab1" href="#" title="HOME" ></a>
<ul class="sub">
 <li class="l"><a class="samsury-fb" href="#" title="FACEBOOK"></a></li>
 <li class="c"><a class="samsury-tw" href="#" title="TWITTER"></a></li>
  <li class="r"><a class="samsury-g" href="#" title="GOOGLE +"></a></li>
<li class="r1"><a class="samsury-rss" href="#" title="RSS FEED"></a></li>
</ul>
</li>
<li id="n2"><a class="samsury-tab2" href="#" title="LABEL" ></a>
<ul class="sub">
<li class="l"><a class="samsury-tab2sub" href="#" title="label 1"><span>LABEL 1</span></a></li>
<li class="c"><a class="samsury-tab2sub" href="#" title="label 2"><span>LABEL 2</span></a></li>
 <li class="r"><a class="samsury-tab2sub" href="#" title="label 3"><span>LABEL 3</span></a></li>
<li class="r1"><a class="samsury-tab2sub" href="#" title="label 4"><span>LABEL 4</span></a></li>
</ul>
</li>
<li id="n3"><a class="samsury-tab3" href="#" title="ARCHIVE" ></a>
<ul class="sub">
<li class="l"><a class="samsury-tab3sub" href="#"><span>ARSIP 1</span></a></li>
<li class="c"><a class="samsury-tab3sub" href="#"><span>ARSIP 2</span></a></li>
<li class="r"><a class="samsury-tab3sub" href="#"><span>ARSIP 3</span></a></li>
<li class="r1"><a class="samsury-tab3sub" href="#"><span>ARSIP 4</span></a></li>
</ul>
</li>
<li id="n4"><a class="samsury-tab4" href="#" title="PARTNER LINK" ></a>
<ul class="sub">
<li class="l"><a class="samsury-tab4sub" href="#"><span>LINK 1</span></a></li>
<li class="c"><a class="samsury-tab4sub" href="#"><span>LINK 2</span></a></li>
<li class="r1"><a class="samsury-tab4sub" href="#"><span>LINK 3</span></a></li>
<li class="r"><a class="samsury-tab4sub" href="#"><span>LINK 4</span></a></li>
</ul>
</li>
<li id="n5"><a class="samsury-tab5" href="#" ><span></span></a>
</li>
</ul>
<div style="clear:both"></div>
</div>


Demikianlah tips widget unik kali ini, semoga bermanfaat dan Salam Blogger
Terimakasih


Bagikan ke :

Facebook Google+ Twitter Digg Technorati Reddit
0 Comments
Tweets
Komentar

0 comments:

Post a Comment