make div non selectable code example Example: unselectable css property .button { user-select: none; }