Notice the difference in styling between an input element and a div element:
.test {
filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
border: 1px solid black;
height: 20px;
}
<input class="test" />
This is because a div element has different default properties as shown below:
.test {
filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
border: 1px solid black;
height: 20px;
}
<div class="test"> </div>
The reason behind this inconsistency might be due to the default CSS settings for each element type.