My goal is to vertically center the input in the picture. How can I do that?
.headmenu {
background-color: rgb(47, 47, 47);
width: auto;
height: 30px;
}
.headmenu-right {
float: right;
padding-right: 15px;
}
.headmenu-right>input {
border-radius: 15px;
padding-left: 5px;
}
<div class="headmenu">
<div class="headmenu-right">
<input type="text">
</div>
</div>