Jasaview.id

Pasang menu dropdown keren css3 di Blog

Pasang menu dropdown keren css3 di Blog

Pasang menu dropdown keren css3 di Blog - Pasang menu dropdown keren css3 di Blog

Pasang menu dropdown keren css3 - Pasang menu dropdown keren css3. Pasang menu dropdown keren css3. Sekarang saya akan share Pasang menu dropdown keren css3, mungkin sudah banyak yang telah memposting tentang ini, tapi tidak salahnya saya memposting ini juga kan , mungkin posting saya bisa membantu anda yang masih newbie..

Berikut cara pasang Pasang menu dropdown keren css3 :
  • Anda login dengan akun anda
  • Masuk ke blogger dan pilih template
  • Klik edit HTML
  • Cari kode ]]></b:skin>, dan simpan kode dibawah ini tepat diatas kode ]]></b:skin>
/* Flying Css3 menu blog-kuliah.blogspot.com*/
#flyingmenubt,#flyingmenubt ul {
&nbsp; &nbsp; list-style: none outside none;
&nbsp; &nbsp; margin: 0;
&nbsp; &nbsp; padding: 0;
&nbsp; &nbsp; height:500px;}
#flyingmenubt {
&nbsp; &nbsp; font-family: "Lucida Sans Unicode",Verdana,Arial,sans-serif;
&nbsp; &nbsp; font-size: 13px;
&nbsp; &nbsp; height: 36px;
&nbsp; &nbsp; list-style: none outside none;
&nbsp; &nbsp; margin: 40px auto;
&nbsp; &nbsp; text-shadow: 0 -1px 3px #202020;
&nbsp; &nbsp; width: 980px;
&nbsp; &nbsp; -moz-border-radius:4px;
&nbsp; &nbsp; -webkit-border-radius:4px;
&nbsp; &nbsp; border-radius:4px;
&nbsp; &nbsp; -moz-box-shadow: 0px 3px 3px #cecece;
&nbsp; &nbsp; -webkit-box-shadow: 0px 3px 3px #cecece;
&nbsp; &nbsp; box-shadow: 0 3px 4px #8b8b8b;
&nbsp; &nbsp; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
&nbsp; &nbsp; background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
&nbsp; &nbsp; background-color:#5f5f5f;
}
#flyingmenubt ul {
&nbsp; &nbsp; left: -9999px;
&nbsp; &nbsp; position: absolute;
&nbsp; &nbsp; top: -9999px;
&nbsp; &nbsp; z-index: 2;
}
#flyingmenubt li {
&nbsp; &nbsp; border-bottom: 1px solid #575757;
&nbsp; &nbsp; border-left: 1px solid #929292;
&nbsp; &nbsp; border-right: 1px solid #5d5d5d;
&nbsp; &nbsp; border-top: 1px solid #797979;
&nbsp; &nbsp; display: block;
&nbsp; &nbsp; float: left;
&nbsp; &nbsp; height: 34px;
&nbsp; &nbsp; position: relative;
&nbsp; &nbsp; width: 105px;
}
#flyingmenubt li:first-child {
&nbsp; &nbsp; border-left: 0 none;
&nbsp; &nbsp; margin-left: 5px;
}
#flyingmenubt li a {
&nbsp; &nbsp; color: #FFFFFF;
&nbsp; &nbsp; display: block;
&nbsp; &nbsp; line-height: 34px;
&nbsp; &nbsp; outline: medium none;
&nbsp; &nbsp; text-align: center;
&nbsp; &nbsp; text-decoration: none;
&nbsp; &nbsp; background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #787878), color-stop(0.5, #5E5E5E), color-stop(0.51, #707070), color-stop(1, #838383));
&nbsp; &nbsp; background-image: -moz-linear-gradient(center bottom, #787878 0%, #5E5E5E 50%, #707070 51%, #838383 100%);
&nbsp; &nbsp; background-color:#5f5f5f;
}

/* keyframes #animation1 */
@-webkit-keyframes animation1 {
&nbsp; &nbsp; 0% {-webkit-transform: scale(1);}
&nbsp; &nbsp; 30% {-webkit-transform: scale(1.3);}
&nbsp; &nbsp; 100% {-webkit-transform: scale(1);}}
@-moz-keyframes animation1 {
&nbsp; &nbsp; 0% {-moz-transform: scale(1);}
&nbsp; &nbsp; 30% {-moz-transform: scale(1.3);}
&nbsp; &nbsp; 100% {-moz-transform: scale(1);}}
#flyingmenubt li &gt; a:hover {

&nbsp; &nbsp; -moz-animation-name: animation1;
&nbsp; &nbsp; -moz-animation-duration: 0.7s;
&nbsp; &nbsp; -moz-animation-timing-function: linear;
&nbsp; &nbsp; -moz-animation-iteration-count: infinite;
&nbsp; &nbsp; -moz-animation-direction: normal;
&nbsp; &nbsp; -moz-animation-delay: 0;
&nbsp; &nbsp; -moz-animation-play-state: running;
&nbsp; &nbsp; -moz-animation-fill-mode: forwards;
&nbsp; &nbsp; -webkit-animation-name: animation1;
&nbsp; &nbsp; -webkit-animation-duration: 0.7s;
&nbsp; &nbsp; -webkit-animation-timing-function: linear;
&nbsp; &nbsp; -webkit-animation-iteration-count: infinite;
&nbsp; &nbsp; -webkit-animation-direction: normal;
&nbsp; &nbsp; -webkit-animation-delay: 0;
&nbsp; &nbsp; -webkit-animation-play-state: running;
&nbsp; &nbsp; -webkit-animation-fill-mode: forwards;
}
#flyingmenubt li:hover &gt; a {
&nbsp; &nbsp; z-index: 4;
}
#flyingmenubt li:hover ul.subs {
&nbsp; &nbsp; left: 0;
&nbsp; &nbsp; top: 34px;
&nbsp; &nbsp; width: 150px;
}
#flyingmenubt ul li {
&nbsp; &nbsp; background: none repeat scroll 0 0 #838383;
&nbsp; &nbsp; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
&nbsp; &nbsp; opacity: 0;
&nbsp; &nbsp; width: 100%;
&nbsp; &nbsp; /*-webkit-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; -moz-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; -o-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; -ms-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; transition:all 0.3s ease-in-out;*/
}

/* keyframes #animation2 */
@-webkit-keyframes animation2 {
&nbsp; &nbsp; 0% {margin-left:185px;}
&nbsp; &nbsp; 100% {margin-left:0px;opacity:1;}
}
@-moz-keyframes animation2 {
&nbsp; &nbsp; 0% {margin-left:185px;}
&nbsp; &nbsp; 100% { margin-left:0px;opacity:1;}
}
#flyingmenubt li:hover ul li {
&nbsp; &nbsp; /* css3 animation */
&nbsp; &nbsp; -moz-animation-name: animation2;
&nbsp; &nbsp; -moz-animation-duration: 0.3s;
&nbsp; &nbsp; -moz-animation-timing-function: linear;
&nbsp; &nbsp; -moz-animation-iteration-count: 1;
&nbsp; &nbsp; -moz-animation-direction: normal;
&nbsp; &nbsp; -moz-animation-delay: 0;
&nbsp; &nbsp; -moz-animation-play-state: running;
&nbsp; &nbsp; -moz-animation-fill-mode: forwards;
&nbsp; &nbsp; -webkit-animation-name: animation2;
&nbsp; &nbsp; -webkit-animation-duration: 0.3s;
&nbsp; &nbsp; -webkit-animation-timing-function: linear;
&nbsp; &nbsp; -webkit-animation-iteration-count: 1;
&nbsp; &nbsp; -webkit-animation-direction: normal;
&nbsp; &nbsp; -webkit-animation-delay: 0;
&nbsp; &nbsp; -webkit-animation-play-state: running;
&nbsp; &nbsp; -webkit-animation-fill-mode: forwards;

&nbsp; &nbsp; /*-webkit-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; -moz-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; -o-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; -ms-transition:all 0.3s ease-in-out;
&nbsp; &nbsp; transition:all 0.3s ease-in-out;*/
}
/* animation delays */
#flyingmenubt li:hover ul li:nth-child(1) {
&nbsp; &nbsp; -moz-animation-delay: 0;
&nbsp; &nbsp; -webkit-animation-delay: 0;
}
#flyingmenubt li:hover ul li:nth-child(2) {
&nbsp; &nbsp; -moz-animation-delay: 0.05s;
&nbsp; &nbsp; -webkit-animation-delay: 0.05s;
}
#flyingmenubt li:hover ul li:nth-child(3) {
&nbsp; &nbsp; -moz-animation-delay: 0.1s;
&nbsp; &nbsp; -webkit-animation-delay: 0.1s;
}
#flyingmenubt li:hover ul li:nth-child(4) {
&nbsp; &nbsp; -moz-animation-delay: 0.15s;
&nbsp; &nbsp; -webkit-animation-delay: 0.15s;
}
#flyingmenubt li:hover ul li:nth-child(5) {
&nbsp; &nbsp; -moz-animation-delay: 0.2s;
&nbsp; &nbsp; -webkit-animation-delay: 0.2s;
}
#flyingmenubt li:hover ul li:nth-child(6) {
&nbsp; &nbsp; -moz-animation-delay: 0.25s;
&nbsp; &nbsp; -webkit-animation-delay: 0.25s;
}
#flyingmenubt li:hover ul li:nth-child(7) {
&nbsp; &nbsp; -moz-animation-delay: 0.3s;
&nbsp; &nbsp; -webkit-animation-delay: 0.3s;
}
#flyingmenubt li:hover ul li:nth-child(8) {
&nbsp; &nbsp; -moz-animation-delay: 0.35s;
&nbsp; &nbsp; -webkit-animation-delay: 0.35s;
}

&lt;ul id="flyingmenubt"&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a class="hsubs" href="#"&gt;Menu 1&lt;/a&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ul class="subs"&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 1&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 3&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 4&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 5&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;
&nbsp; &nbsp; &lt;/li&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a class="hsubs" href="#"&gt;Menu 2&lt;/a&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ul class="subs"&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-1&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-2&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-3&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-4&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-5&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-6&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-7&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 2-8&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;
&nbsp; &nbsp; &lt;/li&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a class="hsubs" href="#"&gt;Menu 3&lt;/a&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ul class="subs"&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 3-1&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 3-2&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 3-3&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 3-4&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Submenu 3-5&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;
&nbsp; &nbsp; &lt;/li&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Menu 4&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Menu 5&lt;/a&gt;&lt;/li&gt;
&nbsp; &nbsp; &lt;li&gt;&lt;a href="#"&gt;Menu 6&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

  • Silahkan anda edit # dengan URL yang anda inginkan
  • Menu dan Submenu ganti dengan sesuai keinginan anda
Untuk demonya anda bisa lihat dari [DISINI]

Jasaview.id