If you want to customize the appearance of your textarea placeholders, you can use a combination selector like this:
#custom-id:-prefix-textarea-placeholder
For instance, the above code snippet will allow you to style the placeholder with the specified id 'custom-id' including the textarea prefix. Below is an example showcasing how this can be implemented (tested on various browsers such as Chrome and IE 11):
::-webkit-textarea-placeholder {
color: orange;
}
:-moz-placeholder { /* Firefox 18- */
color: orange;
}
::-moz-placeholder { /* Firefox 19+ */
color: orange;
}
:-ms-textarea-placeholder {
color: orange;
}
/***********************/
#custom-id::-webkit-textarea-placeholder {
color: pink;
}
#custom-id:-moz-placeholder { /* Firefox 18- */
color: pink;
}
#custom-id::-moz-placeholder { /* Firefox 19+ */
color: pink;
}
#custom-id:-ms-textarea-placeholder {
color: pink;
}
<textarea placeholder="Enter text here"></textarea>
<textarea placeholder="Enter text here" id="custom-id"></textarea>