Horizontal Tabs Menu ini adalah masih sama seperti artikel saya sebelumnya mengenai menu dropdown tanpa javascript, namun bedanya pada tampilan menu yang lebih menarik karena tampilan yang berwarna-warni.
DEMO | DOWNLOADCSS:
- <style type="text/css">
- /* hrizontal menu */
- .cp-menuHolder {position:relative; float:leftleft; overflow:hidden; font:normal bold 11px/35px verdana, sans-serif;}
- .cp-menuHolder .shadow {height:10px; width:90%; leftleft:5%; top:-9px; position:absolute; z-index:100; background:#888;
- -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
- -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
- -o-box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
- box-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
- }
- ul.cp-menu {margin:0; list-style:none; display:block; float:leftleft; height:100px; position:relative; padding:0 60px;}
- ul.cp-menu li {margin:0 5px 0 0; float:leftleft;}
- ul.cp-menu li a {color:#ddd; padding:0 10px; display:block; text-decoration:none;
- -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
- -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
- -o-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
- box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
- -webkit-border-bottom-rightright-radius: 10px;
- -webkit-border-bottom-leftleft-radius: 10px;
- -moz-border-radius: 0 0 10px 10px;
- -o-border-radius: 0 0 10px 10px;
- border-radius: 0 0 10px 10px;
- -webkit-transition: all 0.2s ease-in-out;
- -moz-transition: all 0.2s ease-in-out;
- -o-transition: all 0.2s ease-in-out;
- transition: all 0.2s ease-in-out;
- }
- ul.cp-menu li a.red {background:#a00;}
- ul.cp-menu li a.orange {background:#da0;}
- ul.cp-menu li a.yellow {background:#aa0;}
- ul.cp-menu li a.green {background:#060;}
- ul.cp-menu li a.blue {background:#00a;}
- ul.cp-menu li a.indigo {background:#2b0062;}
- ul.cp-menu li a.violet {background:#682bc2;}
- ul.cp-menu li a:hover {background:#aaa; color:#fff; padding:10px 10px 0 10px;}
- ul.cp-menu li a.red:hover {background:#c00;}
- ul.cp-menu li a.orange:hover {background:#fc0;}
- ul.cp-menu li a.yellow:hover {background:#cc0;}
- ul.cp-menu li a.green:hover {background:#080;}
- ul.cp-menu li a.blue:hover {background:#00c;}
- ul.cp-menu li a.indigo:hover {background:#5b1092;}
- ul.cp-menu li a.violet:hover {background:#8a2be2;}
- </style>
- <div class="cp-menuHolder">
- <ul class="cp-menu">
- <li><a href="#url" class="red">PRODUCTS</a></li>
- <li><a href="#url" class="orange">SERVICES</a></li>
- <li><a href="#url" class="yellow">DEMOS</a></li>
- <li><a href="#url" class="green">MENUS</a></li>
- <li><a href="#url" class="blue">LAYOUTS</a></li>
- <li><a href="#url" class="indigo">CONTACT</a></li>
- <li><a href="#url" class="violet">PRIVACY</a></li>
- </ul>
- <div class="shadow"></div>
- </div>
0 Reply :
Posting Komentar
Jika ada pertanyaan atau request,Komentar pada tab blogger akan lebih memudahkan saya untuk membalasnya karena lebih mudah melakukan pengecekan komentar.