CSS 属性:
user-select:

结果:
The user-select property specifies whether the text of an element can be selected.
CSS 代码:
div {
    user-select:auto;
}
单击上面的属性值可查看结果
cainiaomax.com - 测试工具