Answers for "css unselectable button"

2

unselectable css property

.button {
    user-select: none;
}
Posted by: Guest on May-04-2020
3

disable text selection html

<div 
 style="-moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select:none;
        user-select:none;
        -o-user-select:none;"
     
 unselectable="on"
 onselectstart="return false;" 
 onmousedown="return false;">
    Blabla
</div>
Posted by: Guest on August-16-2020

Browse Popular Code Answers by Language