lazyjinchuriki / pokedex

A Pokedex website made in HTML5, CSS, Vanilla Javascript
https://lazyjinchuriki.github.io/pokedex/
22 stars 21 forks source link

[Fix: #56] Disable hover effect on touchscreen device #57

Closed michaelhhogue closed 10 months ago

michaelhhogue commented 10 months ago

Closes #56.

The behavior described in the issue is caused on touch-screen devices which cannot hover over elements. I attempted adding a flip button to each card, but I just felt this didn't look right. So, I think the best action is to just disable the card flip behavior on touch-screen devices since the same info can be seen when tapping on the card. However, someone in the future might want to display the back-side of the pokemon image on the pokemon details page.