How can I increase the font size to 1rem without changing the height of an input text field that has a padding of 1rem? The goal is to maintain the same height for the input field. Any ideas on how to achieve this?
This is my current HTML structure:
<input type="text" class="search" placeholder="search">
Here is my CSS code:
.search {
padding: 1rem;
font-size: 1rem;