How to change cursor color without changing text color?
I want to have the cursor #FFF
while my font is #000
.
Is that possible?
You can make a custom one.
input, textarea {
cursor: url(cursor.cur);
}
From the mozilla docs
/* Keyword values */
caret-color: auto;
caret-color: transparent;
caret-color: currentColor;
/* <color> values */
caret-color: red;
caret-color: #5729e9;
caret-color: rgb(0, 200, 0);
caret-color: hsla(228, 4%, 24%, 0.8);
Yes it's easy. Set your font color normally then use a custom cursor.
http://beradrian.wordpress.com/2008/01/08/cross-browser-custom-css-cursors/
That does depend on wether the custom cursor can be color, I'm just assuming it can be.