How to change the color of content in HTML input type text while entering some value.
And also the cursor color when it has focus.
How to change the color of content in HTML input type text while entering
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Changing the colour when entering content is easy:
not supported by IE7 and lower. Compatibility table here.
Changing the cursor colour specifically is impossible as far as I know. It will usually take on the text content’s colour which should be fine in most cases.