The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Click function for :hover states on touch devices › Reply To: Click function for :hover states on touch devices
I tested @mikeys4u solution on the iPad Air — it works. I found a similar solution [here] but with a minor difference — void(0) is used instead of leaving the onclick attribute empty e.g.
<div class="image-container" onclick="void(0)">