I want to have the cursor #FFF while my font is #000.
Is that possible?
to change caret color CSS of input type text and textarea use below css
input,textarea {
color: #8f0407;
text-shadow: 0px 0px 0px #000 ;
-webkit-text-fill-color: transparent ;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
color: #ccc;
text-shadow: none;
-webkit-text-fill-color: initial;
}
Codepen Demo