禁用所有页面长按功能
This commit is contained in:
+8
-1
@@ -11,9 +11,16 @@
|
||||
--cream: #f2f4ee;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
/* 禁止所有页面长按选择文字及弹出系统复制菜单。 */
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
html { background: #dfe8e2; }
|
||||
body { margin: 0; color: var(--ink); font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif; }
|
||||
img, a { -webkit-user-drag: none; }
|
||||
button, input { font: inherit; }
|
||||
button { cursor: pointer; }
|
||||
button:disabled { cursor: not-allowed; opacity: .55; }
|
||||
|
||||
Reference in New Issue
Block a user