Issue
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.
Solution
Changing the colour when entering content is easy:
input:focus { color: yellow }
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.
Answered By - Pekka
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.