tholman / cursor-effects

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

z-index too low #32

Closed vielhuber closed 1 year 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 1 year 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 :)