.inpsearch{
border:2px solid #bbb;
border-radius:14px;
height:29px;
padding:0 9px;
}
.inpsearch::-webkit-input-placeholder {
color: #ccc;
font-family:arial;
font-size:20px;
}
<input type='search' class='inpsearch' placeholder='🔍'>
I am looking to enhance the search icon placeholder by increasing its size, however when I increase the font size it ends up at the top border of the input field.
Despite trying with padding and margin adjustments, I have been unsuccessful in keeping the placeholder centered vertically.
Is there a way to maintain the placeholder's vertical centering while increasing the font size?