Skip to content

Instantly share code, notes, and snippets.

@KirinHuang
Created March 21, 2017 05:50
Show Gist options
  • Save KirinHuang/0a1cde69243cbaeb22565e9d3d78552b to your computer and use it in GitHub Desktop.
Save KirinHuang/0a1cde69243cbaeb22565e9d3d78552b to your computer and use it in GitHub Desktop.
页面禁止用户选中
* {
-webkit-touch-callout:none;
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment