freeone3000 7 hours ago

You can do that by changing the cursor icon for the elements in question. The CSS rule does support per-element swapping (because of course it does, that’s how a text input has a bar but a button has a pointer).

1
jampekka 7 hours ago

The cursor color inversion can't be done with CSS though.

freeone3000 7 hours ago

Use a different colored image.

The background colour of the hovered element is known. When you specify the bgcolor, also override the cursor image.

johnisgood 6 hours ago

I am pretty sure it is doable in CSS.