tholman / cursor-effects

Old-school cursor effects for your browser built with modern JavaScript
https://tholman.com/cursor-effects
3.45k stars 254 forks source link

z-index too low #32

Closed vielhuber closed 2 years ago

vielhuber commented 2 years ago

The canvas element has no z-index, so the mouse cursor goes below some elements of the page.

You should apply z-index:2147483647; to it or make it configurable.

tholman commented 2 years ago

Ultimately I'd rather not mess with the z indexing, its something people can apply themselves. From experience adding something like this creates more problems than it solves :)