Enable CSS active pseudo styles in Mobile Safari

http://alxgbsn.co.uk/2011/10/17/enable-css-active-pseudo-styles-in-mobile-safari/

 

1
document.addEventListener("touchstart", function() {},false);

  

1
2
3
html {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

  

 

posted @   zyip  阅读(220)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示