4 ms·
Could be useful for complex cases, but "pointer-events: none" CSS usually does the trick just fine.
by nimbix 15y ago
Could be useful for complex cases, but "pointer-events: none" CSS usually does the trick just fine.
- newtron 15y agoThat's really cool, I didn't know about that. Thanks! The difference here is that with alphaPun.ch you're only clicking through the transparent parts of the image; the opaque parts still block clicks. If I understand that document correctly, pointer-events would only allow you to click through the whole image. (Except with SVG?) Is that right?
- nimbix 15y agoYes, that's right; pointer-events in HTML can only be applied to whole images.