Sunday, 13 January 2013

Cara Membuat Mega Drop Down Blue Black


LANGKAH-LAHKAHNYA
  • Login ke blog kamu
  • Pilih Template > Edit HTML > Cari kode ]]></b:skin>
  • Setelah ketemu letakan kode CSS di bawah ini tepat di atas kode ]]></b:skin>
/* Mega Menu Lampung Trainer
----------------------------------------------- */
#menu_ferozi {
    width: 100%;
    margin: 0px auto;
    border: 1px solid #17A2C1;
    background: rgb(0,183,234); /* Old browsers */
   
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: -moz-linear-gradient(top,  rgba(0,183,234,1) 0%, rgba(0,158,195,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,183,234,1)), color-           
    stop(100%,rgba(0,158,195,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 ); /*         IE6-8 */
    }
     
        #menu_ferozi, #menu_ferozi ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }
      
      
        #menu_ferozi:before,
        #menu_ferozi:after {
            content: "";
            display: table;
        }
      
        #menu_ferozi:after {
            clear: both;
        }
      
      
        #menu_ferozi li {
            float: left;
            border-right: 1px dotted #008DCE;
            -moz-box-shadow: 0px 0 0 #F95700;
            -webkit-box-shadow: 0px 0 0 #F95700;
            box-shadow: 0px 0 0 #F95700;
            position: relative;
        }
      
        #menu_ferozi a {
            float: left;
            padding: 10px 20px;
            color: #fff;
            letter-spacing: 4;
            text-transform:inherit;
            font-family: Verdana, Helvetica;
            font-size: 14px;
            text-decoration: none;
          
        }
      
        #menu_ferozi li a:hover {
            background: #333;
          
        }
      
        #menu_ferozi li:hover > a {
            color: #fafafa;
          
        }
      
        *html #menu_ferozi li a:hover {
        /* IE6 only */
            color: #fafafa;
        }
      
        #menu_ferozi ul {
            margin: 20px 0 0 0;
            _margin: 0; /*IE6 only*/
            opacity: 0;
            visibility: hidden;
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 1;  
            background: rgb(0,183,234); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */

    background: -moz-linear-gradient(top,  rgba(0,183,234,1) 0%, rgba(0,158,195,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,183,234,1)), color-stop(100%,rgba(0,158,195,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,183,234,1) 0%,rgba(0,158,195,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 ); /* IE6-8 */      
            -webkit-transition: all .3s ease-in-out;
            -moz-transition: all .3s ease-in-out;
            -ms-transition: all .3s ease-in-out;
            -o-transition: all .3s ease-in-out;
            transition: all .3s ease-in-out;
        }

        #menu_ferozi li:hover > ul {
            opacity: 1;
            visibility: visible;
            margin: 0;
        }
      
        #menu_ferozi ul ul {
            top: 0;
            left: 100%;
            margin: 0 0 0 20px;
            _margin: 0; /*IE6 only*/
                  
        }
      
        #menu_ferozi ul li {
            float: none;
            display: block;
            border: 0;
            _line-height: 0; /*IE6 only*/
          
        }
      
          
        #menu_ferozi ul a {  
            padding: 12px;
            width: 200px;
            color: #fff;
            border-bottom: 1px dotted #008DCE;
            _height: 12px; /*IE6 only*/
            display: block;
            white-space: nowrap;
            float: none;
            text-transform: none;
        }
      
        #menu_ferozi ul a:hover {
            background-color:#3d3d3d;
            color: #fff;       
       }
  • Setelah itu cari code </header>
  • Setelah ketemu letakan kode HTML di bawah ini tepat di atas kode </header>

<ul id='menu_ferozi'>
        <li><a href='#'>Home</a></li>
        <li><a href='#'>Blogger</a>
        <ul>
        <li><a href='#'>Widgets</a></li>
        <li><a href='#'>Plugin</a>
        <ul>
        <li> <a href='#'>Facebook</a></li>
        <li> <a href='#'>Twitter</a></li>
        <li> <a href='#'>Pinterest</a></li>
        <li> <a href='#'>Google Plus</a></li>
        <li> <a href='#'>Adsense</a></li>
        <li> <a href='#'>Custom</a>
        <ul>
        <li> <a href='#'>Hello Bar</a></li>
        <li> <a href='#'>Earning Boster</a></li>
        <li> <a href='#'>Clock</a></li>
        </ul>
        </li>
        </ul>
        </li>
        <li><a href='#'>Tips Tricks</a></li>
        <li><a href='#'>Blogger News</a></li>
        <li><a href='#'>Blogger Help</a></li>
        </ul>  
        </li>
        <li><a href='#'>Template</a>
        <ul>
        <li><a href='#'>Blogger</a>
        <ul>
        <li><a href='#'>By Column</a>
        <ul>
        <li><a href='#'>1 Column</a></li>
        <li><a href='#'>2 Column</a></li>
        <li><a href='#'>3 Column</a></li>
        </ul>
        </li>
        <li><a href='#'>By Color</a>
        <ul>
        <li><a href='#'>Red</a></li>
        <li><a href='#'>Blue</a></li>
        <li><a href='#'>Orange</a></li>
        </ul>
        </li>
        <li><a href='#'>By Width</a></li>
        </ul>
        </li>
      
        <li><a href='#'>WordPress</a></li>
        </ul>
        </li>
        <li><a href='#'>Faqs</a></li>
        <li><a href='#'>About</a></li>
        <li><a href='#'>Contact</a></li>
    </ul>
  • Save Template
  • Selesai Dan Lihat Hasilnya

Keterangan :
  1. Ganti Test yang berwarna BIRU dengan kata-kata yang anda inginkan
  2. Ganti # berwarna MERAH dengan Link yang anda inginkan.

No comments:

Post a Comment