Add Custom Search Box For Blogger
Just because of you should have a search bar doesn't mean you're restricted to what time. Your site's search bar should be easy to find and readily available whenever someone needs it, but other than that the look of the design is upto you. If you want to add a custom search gadget to Blogger, here are 6 stylish choices to pick from. just copy the code below the search box that you want to add and follow the steps below;
Style:1
Just copy the below script and paste it into blogger layout HTML script
<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/AVvXsEhmcG60NdvZsCnDSSpTlf7Lc1gxlDzx3izlf6l91TxX-t_ffDM45Ee1lloXJac2pSqiUGPX0X5VhzbYs9rpNmDS69gHNGlHhrhvQKPrRqKF6r41_PCZ8scaMBCsfcFeDJt-DxwOY0opLFHl/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>
#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/AVvXsEhmcG60NdvZsCnDSSpTlf7Lc1gxlDzx3izlf6l91TxX-t_ffDM45Ee1lloXJac2pSqiUGPX0X5VhzbYs9rpNmDS69gHNGlHhrhvQKPrRqKF6r41_PCZ8scaMBCsfcFeDJt-DxwOY0opLFHl/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>
Style: 2
<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/AVvXsEhmcG60NdvZsCnDSSpTlf7Lc1gxlDzx3izlf6l91TxX-t_ffDM45Ee1lloXJac2pSqiUGPX0X5VhzbYs9rpNmDS69gHNGlHhrhvQKPrRqKF6r41_PCZ8scaMBCsfcFeDJt-DxwOY0opLFHl/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/AVvXsEjXrgXQRMBNtDv2-qf-X8b-Ju9UQlndA-N7S9_QVN64I41CK8vlMF2mZnBn5q7LsUBvcrtVjvNLz6Yv1hxmQsgTjEuIy7pTWCKviYIWefkzzYwyB06DgXqLN5tKsmJE3Wiqel1i7DebleJ5/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>
#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/AVvXsEhmcG60NdvZsCnDSSpTlf7Lc1gxlDzx3izlf6l91TxX-t_ffDM45Ee1lloXJac2pSqiUGPX0X5VhzbYs9rpNmDS69gHNGlHhrhvQKPrRqKF6r41_PCZ8scaMBCsfcFeDJt-DxwOY0opLFHl/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/AVvXsEjXrgXQRMBNtDv2-qf-X8b-Ju9UQlndA-N7S9_QVN64I41CK8vlMF2mZnBn5q7LsUBvcrtVjvNLz6Yv1hxmQsgTjEuIy7pTWCKviYIWefkzzYwyB06DgXqLN5tKsmJE3Wiqel1i7DebleJ5/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>
Style: 3
<style>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOTYOzQCiYRz8DxEd12-liBN2I13P5y3LVHuO6rKXl_fQ2zS_TCAdXesBW2xxzZnYmuUIY5cmer_t5kaKJM0YEDz3N7FlN_KQbZgGQzs13syV9-QcE_nbaBXr4wSkh79-uUcrl-cPrMWvm/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/AVvXsEjSNO5lcf0jBNGSCAYNTmtKC1r9B31xU72FAroPwdApOkNkSLBEUsOT73u2hHnYrmqA3rxeUMquDkXES9f6K27goNApDlXj3pypL-Fqs8HwYOTPEz0ozfhzxWejmpUU-L88wXf3t_Y_hQ4I/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/AVvXsEj4bypvMtaiKeBPzkS1s893nsjGNF-UVJT1wKQyREPoaMY6G3ym7sTsiStu6SDM-iDt1zdsaK4MzAi8Ubr8C57bYzy5qLpcBgSfsiQr8gksBcT7b9_AvXvmj98blRSLpGcyk6qq1x99NsfQ/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bypvMtaiKeBPzkS1s893nsjGNF-UVJT1wKQyREPoaMY6G3ym7sTsiStu6SDM-iDt1zdsaK4MzAi8Ubr8C57bYzy5qLpcBgSfsiQr8gksBcT7b9_AvXvmj98blRSLpGcyk6qq1x99NsfQ/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>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOTYOzQCiYRz8DxEd12-liBN2I13P5y3LVHuO6rKXl_fQ2zS_TCAdXesBW2xxzZnYmuUIY5cmer_t5kaKJM0YEDz3N7FlN_KQbZgGQzs13syV9-QcE_nbaBXr4wSkh79-uUcrl-cPrMWvm/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/AVvXsEjSNO5lcf0jBNGSCAYNTmtKC1r9B31xU72FAroPwdApOkNkSLBEUsOT73u2hHnYrmqA3rxeUMquDkXES9f6K27goNApDlXj3pypL-Fqs8HwYOTPEz0ozfhzxWejmpUU-L88wXf3t_Y_hQ4I/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/AVvXsEj4bypvMtaiKeBPzkS1s893nsjGNF-UVJT1wKQyREPoaMY6G3ym7sTsiStu6SDM-iDt1zdsaK4MzAi8Ubr8C57bYzy5qLpcBgSfsiQr8gksBcT7b9_AvXvmj98blRSLpGcyk6qq1x99NsfQ/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bypvMtaiKeBPzkS1s893nsjGNF-UVJT1wKQyREPoaMY6G3ym7sTsiStu6SDM-iDt1zdsaK4MzAi8Ubr8C57bYzy5qLpcBgSfsiQr8gksBcT7b9_AvXvmj98blRSLpGcyk6qq1x99NsfQ/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>
Style: 4
<style>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPfBXISx6TR7xKhrYOgQEJDL0JUYNJGMzvY_olYv5WaO_Rw8ZG7XH8lxMW2rXbhg5gzbSGKK5W9QmbFNVfGohrFGsm6nkVUMSOKM56vfRjkH5hCV11aoLSK2LeaESZXDRPYXTTJR6KCv-9/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/AVvXsEiiD51XRWhMYaiTRZt6vq0lpxH8rjrY9vH8lBCzbRSYdOZ0wMPLodqTii1Dk-nVUf8pf6szhSM-4_l23XWIy2whb7Q1Tg3GkLcd5M7eamvzfO9_1VeQz9Qrpv7HkFs4fEffT3GH9VJJ50gB/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/AVvXsEgbPVXiCByeM7pgz4Eg012osd2YsbnmHKpXVxYY3HTCQVCNumUCrfEQZ8H49-3xPtLtfLyU3cJnSkNEQtC6X-TAmxetswd2q-S2668RvKlBDHnBCOjz5D-gnNtxvPzZ9KbmBMjX5c5yhqSX/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>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPfBXISx6TR7xKhrYOgQEJDL0JUYNJGMzvY_olYv5WaO_Rw8ZG7XH8lxMW2rXbhg5gzbSGKK5W9QmbFNVfGohrFGsm6nkVUMSOKM56vfRjkH5hCV11aoLSK2LeaESZXDRPYXTTJR6KCv-9/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/AVvXsEiiD51XRWhMYaiTRZt6vq0lpxH8rjrY9vH8lBCzbRSYdOZ0wMPLodqTii1Dk-nVUf8pf6szhSM-4_l23XWIy2whb7Q1Tg3GkLcd5M7eamvzfO9_1VeQz9Qrpv7HkFs4fEffT3GH9VJJ50gB/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/AVvXsEgbPVXiCByeM7pgz4Eg012osd2YsbnmHKpXVxYY3HTCQVCNumUCrfEQZ8H49-3xPtLtfLyU3cJnSkNEQtC6X-TAmxetswd2q-S2668RvKlBDHnBCOjz5D-gnNtxvPzZ9KbmBMjX5c5yhqSX/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>
Style: 5
<style>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht_c-qG-DWpUUyYg5qmiqb6cF70jq6d62iIQYBUhPz4QzhDJOKoFc6KO9mkDkkJ_VF6RoNpRhoOc_AO7_0PAjFdbclW87lQA_TiZUTem_L-jsRL-bMjLtiZQprHSzwtfhk_gQhEXGjjpuY/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/AVvXsEh8FssNW5_Kp3exnMX3vakR5bidiaee7AIBomxir-AOhRXXSVze-5-CKodKBwnKB_vlbP-wAI1LeFS4KbFouwNKVpbO6kEghhzmaXnE3Xvzrd3TRAz5zlnV1S53AsKKsMAcjhqD6PiKroIr/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/AVvXsEik50Q4SkmPRPpWQdyssn3S1tzZLQwPK1ooFR4qLfigkL-Dnm5tY4ewsTPU1wwMzFoNEprey49jMsOcMg76EeONr78e2w7ZiIvqJvHQC4X7YuNbGoLndrjVjEoxjBkQmlhClvFSV7988lbm/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik50Q4SkmPRPpWQdyssn3S1tzZLQwPK1ooFR4qLfigkL-Dnm5tY4ewsTPU1wwMzFoNEprey49jMsOcMg76EeONr78e2w7ZiIvqJvHQC4X7YuNbGoLndrjVjEoxjBkQmlhClvFSV7988lbm/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>
#searchbox {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht_c-qG-DWpUUyYg5qmiqb6cF70jq6d62iIQYBUhPz4QzhDJOKoFc6KO9mkDkkJ_VF6RoNpRhoOc_AO7_0PAjFdbclW87lQA_TiZUTem_L-jsRL-bMjLtiZQprHSzwtfhk_gQhEXGjjpuY/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/AVvXsEh8FssNW5_Kp3exnMX3vakR5bidiaee7AIBomxir-AOhRXXSVze-5-CKodKBwnKB_vlbP-wAI1LeFS4KbFouwNKVpbO6kEghhzmaXnE3Xvzrd3TRAz5zlnV1S53AsKKsMAcjhqD6PiKroIr/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/AVvXsEik50Q4SkmPRPpWQdyssn3S1tzZLQwPK1ooFR4qLfigkL-Dnm5tY4ewsTPU1wwMzFoNEprey49jMsOcMg76EeONr78e2w7ZiIvqJvHQC4X7YuNbGoLndrjVjEoxjBkQmlhClvFSV7988lbm/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik50Q4SkmPRPpWQdyssn3S1tzZLQwPK1ooFR4qLfigkL-Dnm5tY4ewsTPU1wwMzFoNEprey49jMsOcMg76EeONr78e2w7ZiIvqJvHQC4X7YuNbGoLndrjVjEoxjBkQmlhClvFSV7988lbm/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>
Style: 6
<style>
#searchbox {
width: 280px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhttg-a_4G5k-xO1Tm239gi9uh9emF1YulXRPs8cT6QuKz34IL6h3xdDnEUOCqg3ZdmLJkpeykGXerUrhCybdSgMfvSmpiJxHa2gBiEsVBVHKfTg65fneb5Y2QxAkWuo2IJBrqKV3c1BbVA/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/AVvXsEgrAukx7h1Ar4NFDIIv0FxgjXGEEJfBzIOFRpKCtRKYt80F0yYG2eT5EkGSBWqa_CbvjIfiXYLaCnbmB-WVdOSVAO_y6Ris8GM1DcfegjKHyfm3hKIbmsaLe9J0xvW9MO8pjaNpf3U78rcI/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/AVvXsEhwmRkbBZBV4JN3uPAncf4w0VpsUvuA4nqnAiTxPWFhwnDWeY3OSk37PkNKBJczqtrTcu02ABjmBN1uZxcJVfpMoZfKmXxZPC6FH3s0SNM73OnEXFrJgF__o3gopvQRNoMWNqwxDUjWgr7O/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>
#searchbox {
width: 280px;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhttg-a_4G5k-xO1Tm239gi9uh9emF1YulXRPs8cT6QuKz34IL6h3xdDnEUOCqg3ZdmLJkpeykGXerUrhCybdSgMfvSmpiJxHa2gBiEsVBVHKfTg65fneb5Y2QxAkWuo2IJBrqKV3c1BbVA/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/AVvXsEgrAukx7h1Ar4NFDIIv0FxgjXGEEJfBzIOFRpKCtRKYt80F0yYG2eT5EkGSBWqa_CbvjIfiXYLaCnbmB-WVdOSVAO_y6Ris8GM1DcfegjKHyfm3hKIbmsaLe9J0xvW9MO8pjaNpf3U78rcI/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/AVvXsEhwmRkbBZBV4JN3uPAncf4w0VpsUvuA4nqnAiTxPWFhwnDWeY3OSk37PkNKBJczqtrTcu02ABjmBN1uZxcJVfpMoZfKmXxZPC6FH3s0SNM73OnEXFrJgF__o3gopvQRNoMWNqwxDUjWgr7O/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>
Post A Comment
No comments :