6 Cara Membuat Widget Search Box Keren di Blog

6 Cara Membuat Widget Search Box Keren di Blog - Tutorial kali ini merupakan lanjutan dari artikel kemarin tentang cara membuat search bog keren, kali ini saya mau menambahkan lagi cara membuat 6 search box keren lainnya. Namun sebelum melanjutkan silahkan baca artikel lain saya cara membuat bermacam macam popular post blog keren terlebih dahulu. 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 7 search box keren di Blog
Cara membuatnya cukup mudah kok, anda hanya menambahkan widget seperti biasa atau seperti langkah yang akan saya sebutkan dibawah ini:

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

nb: Hasilnya bisa dilihat dicek 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/AVvXsEi4NgW3qToThEqiRUBDVW6dZMS7BHmmGIja4r1PKFhAo93c3tY6kI7_KDykZOyT57RbeA6aHgtgEggBvY79TUHJGPyEQdEGQU_0qxCW9xUDDqnXu6ydqzhQWYMxM44U5q0RUSMIS2FjZGqI/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/AVvXsEi4NgW3qToThEqiRUBDVW6dZMS7BHmmGIja4r1PKFhAo93c3tY6kI7_KDykZOyT57RbeA6aHgtgEggBvY79TUHJGPyEQdEGQU_0qxCW9xUDDqnXu6ydqzhQWYMxM44U5q0RUSMIS2FjZGqI/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/AVvXsEhljL_qiYOyEv9kHKvxn14VtmRpmxq1F_RQIl-ySZhawq8uXzDpuhnV6wfV4Op6Oqint4Shuloy3wOaA_YhSI7LsFbG8CPGX4PjAjwnYA9d4lDcZNnAYvrgr_UxNvQ_aZ7dGdQaVvhSSh9_/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/AVvXsEgQJJ9dmr7AQm59aZmkaZNyeR33jcNtVsAF9vzxvQdALohcOQ7MMsEv2aAtBAnW844dJzaEE_lixFBMRbHrq9Y9MHDyLobZ4fHclgmRyfGag58rNKnYOjbloGv5dGLbQyXAJPKI0sRLZNPI/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/AVvXsEgsCYhks6pwHEvmwAjPC7o1pZoky8EoX5IslyfQIZy0JOVxTkejBRLFpUXFCp87NwPmN4_Ez1o_a5aQ3WVx_b7S3amv_I0oVX1tqD0QqYO8EdispzxZthVJmW3dMYLG_cURq35iKoZldTFJ/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/AVvXsEgd6AH8DOxgwtfVJE8cRrLTOm4CdXdVrRqBZ9_zp2B2fL-6YGP13S_wR5S5wI5xbsiMigKzfHuzrVBPyX_omtdSwLNYslGEfn2hkMkec0RBrG30C8V8KMzYLh322c0SBBk17_l04CNk2eje/s1600/magnifier-hover.png) no-repeat;
    }
    #button-submit:active {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd6AH8DOxgwtfVJE8cRrLTOm4CdXdVrRqBZ9_zp2B2fL-6YGP13S_wR5S5wI5xbsiMigKzfHuzrVBPyX_omtdSwLNYslGEfn2hkMkec0RBrG30C8V8KMzYLh322c0SBBk17_l04CNk2eje/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/AVvXsEjwr4gvKY5Cqedhd80mirL9QpaABSGQqKGAN69CagCpGGe0kaIpi6EF2kzGcInMhqceD7n2cyjjdGPR2iagX9n9_qnaqkA8bfJVrIjMVZUr53HFkZLg3q4p3rnpK-V4a2pOX_-l_fNA_WRS/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/AVvXsEirbxtPRUVEchpbF4wX7px2AhQ20fHR7XtkoV3opQ-EWSz6Ir8NSi5kEVAt7ReCz0y3wkEsOHmpmZqONSLVlBTo7eXUFJM1_4RWbt7_MWbtcNwlGNBshu9P-gpTQKgBeHoCmfv0XXZf0vew/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/AVvXsEg9JZrj3IzmJrV9czQlEg5E38I6CvX2bJUPb2HALCSi8ZFAslrCH7U6QYAjRBfSiHlG4mzz1RGvz4ajykLlrWYZMzBZ-KIchAZ5a6MyEWzVSFDkMYKG5YsQPxt4RaDqa-j5qLIDcAxmP5Y2/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/AVvXsEilYxPHYIuV0WqwTxQGwKOvW_lPEEcM9nVQqhSYUUdjKopsO-YftzOWV2RL_PCoKsn_1p5S-00gYbFL9W8nDPdEYUgSrlH0iUXCVZSTTVwJVOwVuHentW1zRXHGqgbZ9ca222QuVpSIQ375/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/AVvXsEjrFSkjBKJxLP0omzfk9qMwnwLnMxovDqSbOfv6ZAIItcBfPrYo0GNBBjms2i-WxrfHNU8fYGm4lBNKmB4mJvM-m5B61HuqIhbPPI0vEOqSfcn3FIxs7WDCXSCe7CEE3D0osNbn3J1mn-MG/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/AVvXsEjaeALtYe1NdC7ECUo7Ftk_bevUknaCBT0fPG7enWultGKGzGYf4Z0CCAVi6RDUCinCa7-dP76-BrejolGcp_0ZCGtMx8y8dOM-s0L2zlH82wDAe6KkwXgqPhwFwLSxLRtmQfZKi_FiQCOZ/s1600/magnifier-hover.png) no-repeat;
    }

    #button-submit:active {
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaeALtYe1NdC7ECUo7Ftk_bevUknaCBT0fPG7enWultGKGzGYf4Z0CCAVi6RDUCinCa7-dP76-BrejolGcp_0ZCGtMx8y8dOM-s0L2zlH82wDAe6KkwXgqPhwFwLSxLRtmQfZKi_FiQCOZ/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/AVvXsEjTPtpBjwz5ev2BENuEhXUC6mrbqbOA0J6WaVEgyd8YLMoBVyyd9D5L_nZk6AIBEBQWhSyxQPn5ZIMHiCw89IpRWMLxbXSlATR8UlonPViQVuLHipgQM_uli8P8M5Cd9qib0QjD6IEXHFD3/s1600/search-box.png) no-repeat;
    }

    #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: transparent;
    border: 0px;
    font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
    font-size: 14px;
        color: #f2f2f2 !important;
        padding: 10px 35px 10px 20px;
        width: 220px;
    }
    #searchbox input[type="text"]:focus {
    color: #fff;
    }

    #button-submit{
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcGGBCmWaZKGk-1qD9ygiaTgKicJn_68kqL37Z9NQ2oMF6KuYRisKDqAFR42tmgWFQ1HgJ-okGY6lcgKpeeVUoUL0gdBat6TvZ-tPsiR67SumSMnQ8UjUV3UFdQBwoAi4ZMvDLpelf_K9C/s1600/search-icon.png) no-repeat;
    margin-left: -40px;
    border-width: 0px;
    width: 40px;
    height: 50px;
    }

    #button-submit:hover {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP70XlLjGNKF1SsgxbzSLTBgj0FdNqLSkqM1iqOpnhIV1LRgPZDWsK6m9QnkbprQ_K8SyTk-SkEQpXl7ZiS0hoe_-0z37s_AghshxCUnlWm7Wx1XNIE7tpoxhKtYJsLPCP2lK-gIixmdrh/s1600/search-icon-hover.png);
    }
    </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>

Unknown

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.

Tidak ada komentar:

Posting Komentar