Change Placeholder Text Color Of Textarea
Answer :
Wrap in quotes:
onchange="{(e) => this.props.handleUpdateQuestion(e, firstQuestion.Id)}"
otherwise, it should work just fine:
textarea::-webkit-input-placeholder { color: #0bf; } textarea:-moz-placeholder { /* Firefox 18- */ color: #0bf; } textarea::-moz-placeholder { /* Firefox 19+ */ color: #0bf; } textarea:-ms-input-placeholder { color: #0bf; } textarea::placeholder { color: #0bf; }
<textarea placeholder="test"></textarea>
I am not sure but I think is not necessary to use the prefixes right now.
textarea::placeholder { color: #fff; }
Comments
Post a Comment