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