通过简单的css设置页面的文字无法被选定。
我不能被选中复制
.select{
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
通过上面的css就能设置,div里面的文字不能被选中复制。
转自:https://blog.csdn.net/high_height/article/details/79373844