CSS 属性
user-select
auto
none
text
all
结果
user-select 属性指定是否可以选中元素的文本。
CSS 代码
div { user-select:
auto;
}
点击上面的属性值来查看结果
W3Schools.com
- 亲自试试