Tag: cross-browser
-
CSS – How to disable text selection highlighting
How to disable text selection highlighting A standard-compliant way to accomplish this with CSS .noselect { cursor:default; -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Safari */ -khtml-user-select: none; /* Konqueror HTML */ -moz-user-select: none; /* Old versions of Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ user-select: none; /* Non-prefixed version, currently supported…