答案 0 :(得分:0)
.unselectable {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
<p>You should be able to select this text.</p>
<Button class="unselectable">Hey, you can't select this text!</Button>