Is it possible for a user to select text on a web page using a mobile browser? With the CSS property "user-select: all" the whole text will be highlighted, but I also want to allow selecting specific words without assigning the property everywhere. See the code example below in order to see what I tried so far.
.all {
-moz-user-select: all;
-webkit-user-select: all;
-ms-user-select: all;
user-select: all;
}
<p>You should be able to select this text.</p>
<p class="all">Clicking once will select all of this text.</p>