html - Preventing images and text to be selected - Stack Overflow

PHOTO EMBED

Wed Oct 20 2021 07:49:51 GMT+0000 (UTC)

Saved by @fiki98 #html

.selectDisable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.selectEnable { 
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}
content_copyCOPY

https://stackoverflow.com/questions/5915023/preventing-images-and-text-to-be-selected/5915056