Hover menu is not working on touch-device because link gets triggered

后端 未结 4 1729

I\'ve got the following problem with a menu on a responive website:

I created a html menu which has ul/li-structure which contains links as cat

4条回答
  •  感情败类
    2021-01-25 10:04

    cursor: pointer
    

    This fixes most of the problems with hover on mobiles.

    By the way - your fiddle works fine on my Android device (Huawei Honor 4C).

    @edit: add cursor: pointer on

      element

提交回复
热议问题