Disabling focus of button


#1

After pressing enter on input with type number, the button element next to it focuses and highlights in blue, how can I disable the focus of the button ?


#2

maybe the styling is missing:

button:focus {
  outline: none;
}

#3

disabling the ability to focus is more the plan.


#4

You can’t disable rules only override them. It looks like @bengtler’s solution is your best bet.

-Dharsan