Using CSS, it’s possible to prevent users from selecting text within an element using user-select: none
. Now, it’s understandable why doing so might be considered “controversial”. I mean, should we be disabling standard user behaviors? Generally speaking, no, we …
When is it OK to Disable Text Selection? originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
Read the latest news, articles and tips from Add On IDX