Caixa de pesquisa modelo 1

Views:
<style>
#searchbox {
    background: #d8d8d8; /*--define a cor dofundo--*/
    border: 4px solid #e8e8e8; /*--define a cor da borda--*/
    padding: 20px 10px;
    width: 270px;
}

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(http://2.bp.blogspot.com/-xpzxYc77ack/VDpdOE5tzMI/AAAAAAAAAeQ/TyXhIfEIUy4/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; /*--define a cor do texto--*/
    width: 55%;
    padding: 8px 15px 8px 30px;
}

#button-submit {
    background: #6A6F75; /*--define a cor do botão Buscar--*/
    border-width: 0px;
    padding: 9px 0px;
    width: 23%;
    cursor: pointer;
    font: bold 12px Arial, Helvetica;
    color: #fff; /*--define a cor da fonte do botão Buscar--*/
    text-shadow: 0 1px 0 #555;
}

#button-submit:hover {
    background: #4f5356; /*--define a cor do botão Buscar hover--*/
}

#button-submit:active {/*--define a cor do botão Buscar ativo--*/
    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="Digite aqui" />
<input id="button-submit" type="submit" value="Buscar" />
</form>


Home Sobre mim Tutoriais Loja de templates Portfólio Fanpage