Disabling focus of button


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 ?


maybe the styling is missing:

button:focus {
  outline: none;


disabling the ability to focus is more the plan.


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