css user selevt code example
Example 1: unselectable css property
.button {
user-select: none;
}
Example 2: css make input unselectable
input {
pointer-events:none;
}
.button {
user-select: none;
}
input {
pointer-events:none;
}