bdebon / choiceof.dev

Developers have to cope with pretty hard choices every day. This is a collection of the most complex and funny choices. What will be yours?
https://choiceof.dev
GNU General Public License v3.0
473 stars 93 forks source link

changing cursor pointer #115

Closed l31-dev closed 11 months ago

l31-dev commented 1 year ago

making the cursor pointing while hovering an image to show that it can be clicked

bdebon commented 1 year ago

I'm not sure I want that because then you have the cursor on almost all the page which is weird. Or if we do it, at least, you have to remove the cursor when we are in the state showResult because then you can't click anymore on the images

KGALLET commented 1 year ago

To distinguish the cursor we can use a specific cursor property in order to load 2 differents svg (left arrow for the left part, right arrow for the right one)

I agree with @bdebon, once we have the result we should not let the cursor property on the two images