CSS para impacientes

CSS como usar o Disable selection

January 04, 2020

Makes the content unselectable.

<p>You can select me.</p>
<p class="unselectable">You can't select me!</p>
.unselectable {
  user-select: none;
}

Explanation

  • user-select: none specifies that the text cannot be selected.

Browser support

⚠️ Requires prefixes for full support.
⚠️ This is not a secure method to prevent users from copying content.

Acesse a Referência original