在body、html中添加以下代码
*,body,html{
-moz-user-select: none; /*火狐*//*选中文字时避免出现蓝色背景*/
-webkit-user-select: none; /*webkit浏览器*//*选中文字时避免出现蓝色背景*/
-ms-user-select: none; /*IE10*//*选中文字时避免出现蓝色背景*/
user-select: none;/*选中文字时避免出现蓝色背景*/
}
在body、html中添加以下代码
*,body,html{
-moz-user-select: none; /*火狐*//*选中文字时避免出现蓝色背景*/
-webkit-user-select: none; /*webkit浏览器*//*选中文字时避免出现蓝色背景*/
-ms-user-select: none; /*IE10*//*选中文字时避免出现蓝色背景*/
user-select: none;/*选中文字时避免出现蓝色背景*/
}