I've found this article Change an HTML5 input's placeholder color with CSS which is extremely relevant and hence quoting it here.
Now, I unlike most the given articles I now know how to style the text inside but I dont know how to make it completely customizable. For instance, I would like to high a particular part of my placeholder to be of blue
and the rest to be red
. Here is an example that I try to illustrate my point.
Had it been a normal text I can just add some classes as per my choice. But in this case, what is the workaround for it?