Is it possible to disable the pointer events outside of the the rounded area, while keeping the green area still clickable? (kind of like how we used to use image maps)
I guess you could overlay the outside of the arc with elements that revert the cursor back to an arrow. It's not pretty, but it works. And you can always add more divs to block off more of the arc.
In this CodePen example:
http://codepen.io/msguerra74/pen/mCjzs
Is it possible to disable the pointer events outside of the the rounded area, while keeping the green area still clickable? (kind of like how we used to use image maps)
Thanks!
Hi msguerra74!
I guess you could overlay the outside of the arc with elements that revert the cursor back to an arrow. It's not pretty, but it works. And you can always add more divs to block off more of the arc.
CSS
Note: I turned on prefix free for that demo.
LOL, yeah, that's a way to do it alright! I just wish there were a cleaner way of doing it...