To change input placeholder text color use this code
::-webkit-input-placeholder { color: peachpuff; font-size: 13px; }
Or try it:
::placeholder { color: peachpuff; font-size: 13px; }
For example:
<!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> ::placeholder { color: peachpuff; font-size: 13px; } </style> </head> <body> <input type="text" name="name" placeholder="Enter your name"> </body> </html>
Question and answer is powered by AnsPress.io