首页 > 其他 > 详细

:active pseudo-class doesn't work in mobile safari

时间:2015-01-26 18:51:59      阅读:233      评论:0      收藏:0      [点我收藏+]
<body ontouchstart="">
    ...
</body>

Applied just once, as opposed to every button element seemed to fix all buttons on the page. Alternatively you could use this small JS library called ‘Fastclick‘. It speed up click events on touch devices and takes care of this issue too.

:active pseudo-class doesn't work in mobile safari

原文:http://www.cnblogs.com/benu/p/4250907.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!