Estilos para un buscador con CSS
HTML
<nav>
<div class="cont">
<label>Buscar</label>
<input type="search" placeholder="en esta Web" title="Presione Esc para supender la búsqueda">
</div>
</nav>
CSS
nav{
width:100%;
height:60px;
font-family:sans-serif;
background:#aeb6bf;
border-bottom:4px solid rgba(0,0,0,0.1);
}
.cont{
height:100%;
padding-top:0px;
float:right;
}
.cont label{
color:#797d7f;
font-size:12.9px;
}
input[type="search"]{
width:170px;
margin:10px;
padding:10px 16px;
border-radius:32px;
outline:none;
border:2px solid #ccd1d1;
background:#aeb6bf;
transition:all 0.5s;
}
input[type="search"]:focus{
background:#fff;
width:300px;
}
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/clas88ie/public_html/lib/general.php on line 254
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/clas88ie/public_html/lib/general.php on line 254
Deja tu comentarioComentarios 1