单击按钮或链接或任何内容时删除灰色框

时间:2012-03-24 16:20:37

标签: windows-phone-7 cordova

  

可能重复:
  Windows Phone 7 Browser - Turn off the gray shading when links are clicked

使用phonegap开发Windows Phone应用程序时,单击某个元素时会在其周围显示一个灰色框。如果你有大量的剧本,灰盒子有时会持续很长时间。

如何关闭它?

谢谢

请注意: 我试过这个CSS数组没有成功

* {
-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' */
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: text;
-ms-user-select: none;
user-select: none;
outline: 0 none;
-moz-outline: 0 none;
} 

0 个答案:

没有答案