Disallow user selection of text

/ Published in: CSS
Save to your folder(s)

Prevents user selecting text in text blocks

Copy this code and paste it in your HTML
  1. -webkit-user-select: none;
  2. -khtml-user-select: none;
  3. -moz-user-select: none;
  4. -o-user-select: none;
  5. user-select: none;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.