← Back to context Comment by jampekka 7 months ago The cursor color inversion can't be done with CSS though. 3 comments jampekka Reply freeone3000 7 months 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. jampekka 7 months ago The effect on the page is per-pixel, it doesn't change the whole cursor color when the hovered element changes.For normal elements this can be done with mix-blend-mode, but that's not available for the cursor. johnisgood 7 months ago I am pretty sure it is doable in CSS.
freeone3000 7 months 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. jampekka 7 months ago The effect on the page is per-pixel, it doesn't change the whole cursor color when the hovered element changes.For normal elements this can be done with mix-blend-mode, but that's not available for the cursor.
jampekka 7 months ago The effect on the page is per-pixel, it doesn't change the whole cursor color when the hovered element changes.For normal elements this can be done with mix-blend-mode, but that's not available for the cursor.
Use a different colored image.
The background colour of the hovered element is known. When you specify the bgcolor, also override the cursor image.
The effect on the page is per-pixel, it doesn't change the whole cursor color when the hovered element changes.
For normal elements this can be done with mix-blend-mode, but that's not available for the cursor.
I am pretty sure it is doable in CSS.