Encountering a challenge while styling placeholders, particularly in Internet Explorer where the placeholder text color does not change as expected. Instead, it inherits the color of the input field.
:-ms-input-placeholder {
color: white;
}
input {
color: black;
}
By utilizing this code snippet, the placeholder will now be displayed in black color.
What could possibly be causing this issue?