现在想要实现长按文本出现选择复制的效果,但是现在项目不论怎么样都没有反应,请问该如何设置?
已经设置了, 没有效果
*{
-webkit-touch-callout:auto; /*系统默认菜单被禁用*/
-webkit-user-select:auto; /*webkit浏览器*/
-khtml-user-select:auto; /*早期浏览器*/
-moz-user-select:auto; /*火狐*/
-ms-user-select:auto; /*IE10*/
user-select:auto;
}
这些全部去掉:
-webkit-touch-callout:auto; /系统默认菜单被禁用/
-webkit-user-select:auto; /webkit浏览器/
-khtml-user-select:auto; /早期浏览器/
-moz-user-select:auto; /火狐/
-ms-user-select:auto; /IE10/
user-select:auto;