From e06ce9f83d7e9c1696312f6b695d5b3ddf315a9f Mon Sep 17 00:00:00 2001 From: jabez zhang Date: Fri, 22 May 2015 15:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E5=85=A8=E5=B1=80css=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0-webkit-user-select:none?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对全局css添加-webkit-user-select:none,禁用拷贝功能,增强native app体验。 --- css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index ac76e27..ac142ba 100755 --- a/css/style.css +++ b/css/style.css @@ -5,7 +5,7 @@ src: local('Lato Hairline'), local('Lato-Hairline'), url(../font/lato.woff2) format('woff2'); } -*{padding:0;margin:0;box-sizing:border-box;-webkit-box-sizing:border-box;} +*{padding:0;margin:0;box-sizing:border-box;-webkit-box-sizing:border-box;-webkit-user-select:none;} html,body{background:#3d566e;height:100%;color:#fff;padding:0;margin:0;} body{font:normal 1.5em/1.3 Lato, Avenir, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;}