I'm developing a web application and would like to format my search field as well. With icon inside and a written placeholder search product
Lookslikethisismysearchfield.
WiththeroundbordersandiconinsidethebuttonandthenameLookforaproductinsidebutIcannot.
HTML
<divclass="campo_busca"><input type="text"id="busca"><i class="fa fa-search"></i></div>
CSS
.campo_busca{
margin-top: 40px;
margin-left: 160px;
border: 1px radius solid;
}
#busca{
width: 90%;
}