📜  选择处理程序 css 代码示例

📅  最后修改于: 2022-03-11 14:48:01.479000             🧑  作者: Mango

代码示例1
/* Keyword values */
user-select: none;
user-select: auto;
user-select: text;
user-select: contain;
user-select: all;

/* Global values */
user-select: inherit;
user-select: initial;
user-select: revert;
user-select: unset;

/* Mozilla-specific values */
-moz-user-select: none;
-moz-user-select: text;
-moz-user-select: all;

/* WebKit-specific values */
-webkit-user-select: none;
-webkit-user-select: text;
-webkit-user-select: all; 

/* Doesn't work in Safari; use only
 "none" or "text", or else it will
 allow typing in the  container */

/* Microsoft-specific values */
-ms-user-select: none;
-ms-user-select: text;
-ms-user-select: element;