Notification texts go here Contact Us!

Cara Membuat Style Search Box pada Blog

Tutorial kali ini Mr. GoYo akan memberikan toturial cara membuat search box. Lalu pertanyaannya pentingkah search blog ini dipasang di blog anda? Tentu saja banyak sekali manfaat yang bisa anda dapatkan untuk memasang search blog ini di blog anda, search blog ini memudahkan para pembaca blog anda sebagai widget navigasi atau membantu para pembaca blog untuk mengeksplor atau mencari artikel yang diinginkan para pembaca. Dengan demikian para pembaca mudah menemukan artikel atau yang berkaitan dengan frasa kata yang mereka inginkan di blog anda tanpa berpindah ke blog lain.


Cara membuat Search Box pada blog!
  1. Masuk Akun blog anda
  2. Masuk tata letak lalu tambahkan widget HTML/ Javascript
  3. Masukan kode yang saya berikan ini.
  4. Simpan

Hasilnya bisa seperti dibawah ini.


Search Box no1
<style>
    #searchbox {
        background: #d8d8d8;
        border: 4px solid #e8e8e8;
        padding: 20px 10px;
        width: 250px;
    }

    input:focus::-webkit-input-placeholder {
        color: transparent;
    }

    input:focus:-moz-placeholder {
        color: transparent;
    }

    input:focus::-moz-placeholder {
        color: transparent;
    }

    #searchbox input {
        outline: none;
    }

    #searchbox input[type="text"] {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuVDMiIMJ2Yjv7HO2S0DSTGoRMP98_PdrVdysDGvPj8BdHbvNbhrR20b3FWircuFC_mRvRCp1L_EWrTHT45AaD8DT5IWf2YWCt9boVp2avwGU9pD9fnh9up2uXP46zm9gfaKq8V8ZUv-o_/s1600/search-dark.png) no-repeat 10px 6px #fff;
        border-width: 1px;
        border-style: solid;
        border-color: #fff;
        font: bold 12px Arial,Helvetica,Sans-serif;
        color: #bebebe;
        width: 55%;
        padding: 8px 15px 8px 30px;
    }

    #button-submit {
        background: #6A6F75;
        border-width: 0px;
        padding: 9px 0px;
        width: 23%;
        cursor: pointer;
        font: bold 12px Arial, Helvetica;
        color: #fff;
        text-shadow: 0 1px 0 #555;
    }

    #button-submit:hover {
        background: #4f5356;
    }

    #button-submit:active {
        background: #5b5d60;
        outline: none;
    }

    #button-submit::-moz-focus-inner {
        border: 0;
    }
    </style>

    <form id="searchbox" method="get" action="/search">
    <input name="q" type="text" size="15" placeholder="Type here..." />
    <input id="button-submit" type="submit" value="Search" />
    </form>


Search Box no2
    <style>
    #searchbox {
    width: 240px;
    }
    #searchbox input {
        outline: none;
    }
    input:focus::-webkit-input-placeholder {
        color: transparent;
    }
    input:focus:-moz-placeholder {
        color: transparent;
    }
    input:focus::-moz-placeholder {
        color: transparent;
    }
    #searchbox input[type="text"] {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuVDMiIMJ2Yjv7HO2S0DSTGoRMP98_PdrVdysDGvPj8BdHbvNbhrR20b3FWircuFC_mRvRCp1L_EWrTHT45AaD8DT5IWf2YWCt9boVp2avwGU9pD9fnh9up2uXP46zm9gfaKq8V8ZUv-o_/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;
    border: 2px solid #f2f2f2;
        font: bold 12px Arial,Helvetica,Sans-serif;
        color: #6A6F75;
        width: 160px;
        padding: 14px 17px 12px 30px;
        -webkit-border-radius: 5px 0px 0px 5px;
        -moz-border-radius: 5px 0px 0px 5px;
        border-radius: 5px 0px 0px 5px;
        text-shadow: 0 2px 3px #fff;
        -webkit-transition: all 0.7s ease 0s;
        -moz-transition: all 0.7s ease 0s;
        -o-transition: all 0.7s ease 0s;
        transition: all 0.7s ease 0s;
    }
    #searchbox input[type="text"]:focus {
    background: #f7f7f7;
    border: 2px solid #f7f7f7;
    width: 200px;
    padding-left: 10px;
    }

    #button-submit{
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAp_PtWBgVig70lu5jY9phzKZKTXE1FHTC913cC5zFaP4nYuC6TSgJedcgWa-846Zwq4zqPUk0qiGtO5z3an2fkAZAJcqlUaKCL6mPdnbly_V9vRiYmxnTVV2rvKzSE2oxfe8Z4naHhJlK/s1600/slider-arrow-right.png) no-repeat;
    margin-left: -40px;
    border-width: 0px;
    width: 43px;
    height: 45px;
    }
    </style>

    <form id="searchbox" method="get" action="/search" autocomplete="off">
    <input name="q" type="text" size="15" placeholder="Enter keywords here..." />
    <input id="button-submit" type="submit" value=" "/>
    </form>


Search Box no3
  <style>
    #searchbox {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs_0OqNDQKJJjsNTtXebXtkAnWohTX0UQiVcMSI4S_36y3j44_s-er4cQEBV1BOCfvNAG9rbW3wqf1q8XUn51YVX2T8Ns_QL1TNWMUmqR8fcYDERN0bohCCejcCnJc5oaMXatu4AY6ZYmk/s1600/searchbar.png) no-repeat;
        width: 208px;
        height: 29px;
    }
    input:focus::-webkit-input-placeholder {
        color: transparent;
    }
    input:focus:-moz-placeholder {
        color: transparent;
    }
    input:focus::-moz-placeholder {
        color: transparent;
    }
    #searchbox input {
        outline: none;
    }
    #searchbox input[type="text"] {
        background: transparent;
        margin: 3px 0px 0px 20px;
        padding: 5px 0px 5px 0px;
        border-width: 0px;
        font-family: "Arial Narrow", Arial, sans-serif;
        font-size: 12px;
        color: #828282;
        width: 70%;
        display: inline-table;
        vertical-align: top;
    }
    #button-submit {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiGKS_Eeelia1YzcI-rg0A-rIUV9eUDrmKwIXGvWCXeT9dJEBMwAPu5A3ZsORvWoUfZDoxkAweX8RcP29guTNYsB-OA5NnZa3kIHzHzN3RHTVAmRAYMisx4DtqaQ5Z_i__ZCORN0u-MDYb/s1600/magnifier.png) no-repeat;
        border-width: 0px;
        cursor: pointer;
        margin-left: 10px;
        margin-top: 4px;
        width: 21px;
        height: 22px;
    }
    #button-submit:hover {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0YSxDn-XPOQXLilwxEqpCwOhvWlAXOCAwWMhih_r2NF4U7w3pAUBZaEmnZ2RbOdCpUPQoM9_FcCSb4_lIiSG5YVcIo4RkJ81ePrje_7C7nHW5LTqydIQddklZgSCGP5be_Ljs4EkAWXIb/s1600/magnifier-hover.png) no-repeat;
    }
    #button-submit:active {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0YSxDn-XPOQXLilwxEqpCwOhvWlAXOCAwWMhih_r2NF4U7w3pAUBZaEmnZ2RbOdCpUPQoM9_FcCSb4_lIiSG5YVcIo4RkJ81ePrje_7C7nHW5LTqydIQddklZgSCGP5be_Ljs4EkAWXIb/s1600/magnifier-hover.png) no-repeat;
        outline: none;
    }
    #button-submit::-moz-focus-inner {
        border: 0;
    }
    </style>

    <form id="searchbox" method="get" action="/search" autocomplete="off">
        <input name="q" type="text" size="15" placeholder="search..." />
        <input id="button-submit" type="submit" value="" />
    </form>


Search Box no4
<style>
    #searchbox {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgX-4EbdmWLNwR2f0inANT2n23_gcVI_ILc9jByRqPxtpyGEyIV3XMNdi_PiGd_-eG8URX497e926ifKfScQvFwEWijO1lyWjbsBOUZ2dsQoMGgCAYQfptPH9ayL1K1IbLiQ7dK7SjAf-l/s1600/search-box.png) no-repeat;
        height: 27px;
        width: 202px;
    }

    input:focus::-webkit-input-placeholder {
        color: transparent;
    }

    input:focus:-moz-placeholder {
        color: transparent;
    }

    input:focus::-moz-placeholder {
        color: transparent;
    }

    #searchbox input {
        outline: none;
    }

    #searchbox input[type="text"] {
        background: transparent;
        margin: 0px 0px 0px 12px;
        padding: 5px 0px 5px 0px;
        border-width: 0px;
        font-family: "Arial Narrow", Arial, sans-serif;
        font-size: 12px;
        font-style: italic;
        width: 77%;
        color: #828282;
        display: inline-table;
        vertical-align: top;
    }

    #button-submit {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihCZX3FfezPCouyYKeFa-2LqGSt71AwOFKkw2EllYnDvTG0bD4397RsL-O9bJ-fbKCUxAiCPKAgYl7vyv3BNLBQqRAmdFNuyXKWnbSpQeQ96n2UZK__MWuPxVRXT8ZpvZxb7fsoN9_NYiG/s1600/search-button.png) no-repeat;
        border-width: 0px;
        cursor: pointer;
        width: 30px;
        height: 25px;
    }

    #button-submit:hover {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQppGJgejUKXAwPseWi-KFJTDHg8KpjqCIpm288ZvfE9p_CmqhjIkZJ9T9szO5z7iA5ANskU71IaRD3A2T1uef0n3-kLe4Ip7JuEjfANR8YaghrKdKNYfyg1dID2ryc1pXiXmHx9ViEh5n/s1600/search-button-hover.png) no-repeat;
    }

    #button-submit::-moz-focus-inner {
        border: 0;
    }
    </style>

    <form id="searchbox" method="get" action="/search" autocomplete="off">
    <input name="q" type="text" size="15" placeholder="search..." />
    <input id="button-submit" type="submit" value="" />
    </form>


Search Box no5
<style>
    #searchbox {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPPIhr98t6T31OkSb9dYkj6gX5eQg6vMoZ5bJ0LW-0_tgvoJTSxShDe8zN4Woq239guW9KkPWMAaSEqWEu7EHpcqWe7-TvIrqm2z9EgBmYQno_n66ap0eCcZRNFu1018M8wS_BpYgAFLgd/s1600/search-box1.png) no-repeat;
        width: 250px;
        height: 65px;
    }

    input:focus::-webkit-input-placeholder {
    color: transparent;
    }

    input:focus:-moz-placeholder {
    color: transparent;
    }

    input:focus::-moz-placeholder {
    color: transparent;
    }

    #searchbox input {
        outline: none;
    }

    #searchbox input[type="text"] {
        background: transparent;
        padding: 5px 0px 5px 20px;
        margin: 10px 15px 0px 0px;
        border-width: 0px;
        font-family: "Brush Script MT", cursive;
        font-size: 12px;
        color: #595959;
        width: 65%;
        font-weight: bold;
        display: inline-table;
        vertical-align: top;
    }

    #button-submit {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJx_8zy8o2aNp-smP8MLpxxNoKn8V74L9WdkipuHEZML04RFafBJ1_3y1_bC8qUIQdySB42eCuBzu3ezQYjb7TMhM-_LUebww90vOjd_PEH_u4XkuauLvlI-c1cAPLl-_6AgWL3_oaYb1o/s1600/magnifier.png) no-repeat;
        border-width: 0px;
        cursor: pointer;
        margin-top: 10px;
        width: 19px;
        height: 25px;
    }

    #button-submit:hover {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjTI1fJ-FBfjEDG45HvVJsjvWCw-TGzEqXYVGXK251pjAd0E-au6mnUAcRwEilvJr6li27sR7-HG_xqSmMPQTx2Rf7Wft-rK5ajuRTTZJfI8QVw9kYJyEvgQ2By6hmvSMFYKFZny4l8TQO/s1600/magnifier-hover.png) no-repeat;
    }

    #button-submit:active {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjTI1fJ-FBfjEDG45HvVJsjvWCw-TGzEqXYVGXK251pjAd0E-au6mnUAcRwEilvJr6li27sR7-HG_xqSmMPQTx2Rf7Wft-rK5ajuRTTZJfI8QVw9kYJyEvgQ2By6hmvSMFYKFZny4l8TQO/s1600/magnifier-hover.png) no-repeat;
        outline: none;
    }

    #button-submit::-moz-focus-inner {
        border: 0;
    }
    </style>

    <form id="searchbox" method="get" action="/search" autocomplete="off">
        <input class="textarea" name="q" type="text" size="15" placeholder="Search here..." />
        <input id="button-submit" type="submit" value="" />
    </form>


Search Box no6
<style>
    #searchbox {
    width: 280px;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQffByZ6iyouzm1BV-TdPzmbqWXLf7I_6lFPqJ4v7WIOu5aItUurfV-ZUCnxuklN5bRpxKHAEKSgF9y7PeNBvOAIWFzbH8T1UtrMH8WF37ezqvMXfAmrRN3LDY-tNB2ZI_Evwm2K5rcqUD/s1600/search-box.png) no-repeat;
    }


Post a Comment

Berikan komentar anda untuk bertanya dan memberikan saran.
Jangan isi komentar dengan link aktif !
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
Internetnya lagi ngopi kayaknya. Ayo panggil balik biar bisa browsing tanpa drama! ☕😂📡
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.