CSS Webkit設定

Reference :
http://css-infos.net/properties/webkit.php
http://www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/

http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariCSSRef/Introduction.html

* {
       -webkit-touch-callout: none;
       -webkit-tap-highlight-color: rgba(0,0,0,0);
       -webkit-text-size-adjust: none;
       -webkit-user-select: none;
}


Customizing the Mobile Safari tap highlight color
 -webkit-tap-highlight-color: rgba(0,0,0,0);  // 將tap highlight color設為看不見
不懂意思的話,可以用IPhone or IPad的 Safari來看
http://dl.dropbox.com/u/131998/yui/demos/webkit-tap-highlight/index.html

 -webkit-user-select: none;  //將複製跟貼上的動作取消掉

留言

熱門文章