-webkit-touch-callout:none; /*系统默认菜单被禁用*/
-webkit-user-select:none; /*webkit浏览器*/
-khtml-user-select:none; /*早期浏览器*/
-moz-user-select:none;/*火狐*/
-ms-user-select:none; /*IE10*/
user-select:none;
还有一个关于移动端长按弹出片保存问题,禁止方法:
pointer-events: none;
找到相关网友简单说法:
pointer-events:none
顾名思意,就是鼠标事件拜拜的意思。作用是让元素实体“虚化”。
联系客服