CSS Demo: user-select

user-select: auto;
user-select: none;

This text is selectable.

Toggle the user select value of this text.