So CSS has the style of ::first-letter and not ::last-letter ... To make ::first-letter apply to the last letter, you do the trick by changing the direction of the text like this:
::-webkit-input-placeholder { unicode-bidi: bidi-override; direction: rtl; text-align: left; } ::-webkit-input-placeholder::first-letter { color: red; }
The problem is that you will need to cancel your placeholder attribute, and you cannot use an asterisk because this is considered a punctionation. But you can use Unicode characters :)) ...
<input type="text" placeholder="β
emaN">
Here's JSFiddle: http://jsfiddle.net/988aejrg/1/
source share