Suppose there are two divdivs like this:
.second { cursor: default; user-select: none; -webkit-user-select: none; /* Chrome/Safari/Opera */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IEInternet Explorer/Edge */ -webkit-touch-callout: none; /* iOS Safari */ } <div class="first"> This is my first div </div> <div class="second"> This is my second div </div> Set cursor to default so that it will give a unselectable feel to the user/.
Prefix need to be useused to support it in all browsers without. Without a prefix this may not work in all the answers.