我一直认为iOS设备上的悬停效果仅在完整的"点击"(或"触摸")上可见,但后来我找到了这个页面:
http://www.theverge.com/2013/2/19/4004250/sunrise-for-iphone-calendar-app-for-a-post-google-world
这里悬停效果是可见的,当我点击一个元素(没有延迟),当我离开我的手指时离开 - 没有必要完成点击.
我不明白.诀窍是什么?
我知道了!
只需添加ontouchstart=""到您的身体标签:
<body ontouchstart=""> ...
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2519 次 |
| 最近记录: |