How to disable default text selection highlighting in CSS

What use-select:none does

The user-select property specifies whether the text of an element can be selected.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aakash Singh Rajput

Aakash Singh Rajput

I'm a developer and my work is development