I want to target the placeholder across multiple browsers like this
.editor textarea::-webkit-input-placeholder,
.editor textarea:-moz-placeholder,
.editor textarea::-moz-placeholder,
.editor textarea:-ms-input-placeholder
{
color: red;
}
but this does not work
Do I have to do it separately for each
.editor textarea:-ms-input-placeholder
{
color: red;
}
The html is as follows:
<div class="editor">
<textarea placeholder="This will be the heading sentence..."></textarea>
</div>
or is there another way?
(sorry for the noob question)
Thanks!