I think is not a class, somewhere I read it was a browser thing and the reason is accessibility, I got rid of that border with outline: 0 in the selector :focus. To preserve accessibility you can make your button even darker than when is hovered or active.