How to disable text selection highlighting using CSS?

Posted by Jessica Taylor | Updated on

In this example, I have shared how to disable text selection highlighting using CSS? According to Can I use, the user-select is currently supported in all browsers except Internet Explorer 9 and earlier versions (but sadly still needs a vendor prefix).

Add the below HTML code inside you body section of page”


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers