2011年8月25日 星期四

Webkit

The core of Safari browser is using Webkit engine. So one may make use of the webkit CSS to control browser behavior.


* {
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
   -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
   -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
   -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */



Webkit Objective-C Programming Guide

沒有留言:

張貼留言