unselectable css property

CSS
.button {
    user-select: none;
}
Source

Also in CSS: