CSS Property:

user-select

Result:

Select the text, and you can see that the selected text is highlighted with blue.

CSS Code:

#myDiv {
                
;
}
Click the property values above to see the result
W3Docs.com-Play it
Finden Sie das nützlich?