html - 多次点击选中页面文字出现蓝色背景的解决方法

 
body{ 
     -moz-user-select: none; /*火狐*/
      -webkit-user-select: none; /*webkit浏览器*/
      -ms-user-select: none; /*IE10*/
      user-select: none;/*选中文字时避免出现蓝色背景*/
}

 

posted @ 2021-07-06 16:56  武卡卡  阅读(356)  评论(0编辑  收藏  举报