This question already has an answer here:
- Hide textfield blinking cursor 10 answers
How can I remove the caret from a <input type="text">
element only using CSS and not JavaScript?
This question already has an answer here:
How can I remove the caret from a <input type="text">
element only using CSS and not JavaScript?
Of course you can do it just with
CSS
.Add this code to your CSS file:
Here you have the SOURCE and a DEMO
I can only say you that you can achieve this by applying the color through css :
FIDDLE DEMO
Otherwise there is no way to style the text cursor with CSS.