codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Fix CSS hover on iPhone & iPad

    6th August 2014


    Css - Codehaven

    As usual Apple has to be difficult…..!
    To show the user a hover effect when they touch the element in question, the code below should do the trick.

    Add onclick=”” to anything you wish iOS to recognise as an element with a hover.

    Was this code snippet helpful?