I can't find any information about this topic. I want a simple custom cursor with CSS. I have this code right now:
cursor: url('img/cursor_left.png'), auto;
It shows the cursor, nothing wrong. But it's blurry, because it isn't compatible for retina display. Anyone knows how to fix this?
Thanks, Angelo.
I haven't tested this, but it should be possible to use image-set:
cursor: url('img/cursor_left.png'), auto;
cursor: -webkit-image-set(
url('img/cursor_left.png') 1x,
url('img/cursor_left_hi.png') 2x
), auto;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With