The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Targeting paths within an SVG used as a cursor
I’m using an SVG as a custom cursor and would like to be able to target paths via CSS to change colours inside the cursor…
Have used CSS to do this with SVGs in a webpage but not sure if it’s possible to do it on the cursor!
No it’s not.
A cursor image is just that and you can’t externally style image contents/internals with CSS.
Not only that but the image isn’t even in the DOM….it’s a property.
Ah, OK thanks. Thought as much but good to have it confirmed and explained.