I want to change the color of the placeholder of this input. Is it possible?
<input type="text" placeholder="Enter your input here">
I want to change the color of the placeholder of this input. Is it possible?
<input type="text" placeholder="Enter your input here">
With css:
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: red;
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: red;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: red;
}