Enable CSS active pseudo styles in Mobile Safari

zyip發表於2015-06-26

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

 

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

  

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

  

 

相關文章