body{
-moz-user-select:none; //火狐
-webkit-user-select:none;
-ms-user-select:none; //IE10
-khtml-user-select:none; //早期浏览器
user-select:none;
}
在网上搜的一个简单、实用的方法
body{
-moz-user-select:none; //火狐
-webkit-user-select:none;
-ms-user-select:none; //IE10
-khtml-user-select:none; //早期浏览器
user-select:none;
}
在网上搜的一个简单、实用的方法
转载于:https://www.cnblogs.com/dddmw/p/6216673.html