Home » » membuat menu dengan animasi di blog

membuat menu dengan animasi di blog




- sign in

- edit laman

- tambah gadget (lihat gambar Klik Disini)

- pilih HTML/JavaScript

- kemudian copy code berikut:

<style type="text/css">
.menuqu ul li{list-style: none; display: inline;}
.menuqu1 { padding: 2px 0.5em; text-decoration: none; float: left; color: black; background: #4FCF26; border: 2px solid #fff;
-webkit-transition:all
0.5s ease-in-out; -moz-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out; -webkit-transform:rotate(-25deg);-moz-transform:rotate(-25deg);-o-transform:rotate(-25deg);
}
.menuqu2 { padding: 2px 0.5em; text-decoration: none; float: left; color: black; background: #BFDCFF; border: 2px solid #fff;
-webkit-transition:all
0.5s ease-in-out;-moz-transition:all 0.5s ease-in-out;-o-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out; -webkit-transform:rotate(25deg);-moz-transform:rotate(25deg);-o-transform:rotate(25deg);
}
.menuqu1:hover, .menuqu2:hover{ background: #F0BFFF; color:#ccc;
-webkit-transform:rotate(
0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg)
}
</style>

<div class="menuqu">
<ul>
<li class="
menuqu1"><a href='http://adhirapuzzpa.blogspot.com/'>Home</a></li>
<li class="
menuqu2"><a href='URL 1'>Menu1</a></li>
<li class="
menuqu1"><a href='URL 2'>Menu2</a></li>
<li class="
menuqu1"><a href='URL 3'>Menu3</a></li>
<li class="
menuqu2"><a href='URL 4'>Menu4</a></li>
<li class="
menuqu1"><a href='URL 5'>Menu5</a></li>
</ul>
</div>


- simpan

keterangan: URL ganti dengan URL kalian

0 komentar:

Posting Komentar