//这个样式用来去除html双击后选中有蓝色背景
*{
-moz-user-select: none; /*火狐*/
-webkit-user-select: none; /*webkit浏览器*/
-ms-user-select: none; /*IE10*/
-khtml-user-select: none; /*早期浏览器*/
user-select: none;
}
去除html双击后选中有蓝色背景
最新推荐文章于 2023-06-20 14:51:39 发布
本文介绍了一种CSS样式,通过-moz-user-select, -webkit-user-select, -ms-user-select和-khtml-user-select属性,确保在各种浏览器中,用户双击HTML内容时不会出现蓝色选中背景,提升用户体验。
摘要由CSDN通过智能技术生成