2
You can use the border-radius
.
.container {
box-sizing: border-box;
background: #0699CD;
width: 100%;
padding: 20px 10px;
}
.content {
background: #33CB33;
width: 100%;
box-sizing: border-box;
height: auto;
border-radius: 20px;
}
.content input {
border-radius: 20px;
background: #82CCE6;
padding: 10px;
width: 70%;
border: none;
margin-right: 10px;
}
.content button {
background: transparent;
border: none;
color: #fff;
text-transform: uppercase;
}
<div class="container">
<div class="content">
<input type="text">
<button>Pesquisar</button>
</div>
</div>
Can be using a
div
editable?– Ricardo Pontual
@Ricardopunctual didn’t quite understand what it would be... but I don’t know, I just need to do this search field there and I don’t know anything about design hahaha
– Sorack
See if this helps https://jsfiddle.net/6kzLud4v/ I made it real quick in the fiddle
– Ricardo Pontual