html tutorial - How to change input field or textarea placeholder text color using CSS - html5 - html code - html form
Answer: Use vendor prefix CSS properties
By default, the placeholder text of <input> field and <textarea> are displayed in light-weight grey color, and there's no normal CSS property to style them. However, browsers offer some non-standard vender specific pseudo-elements and pseudo-classes that you simply will use to customise the looks of placeholder text, like this: