Blue border in submit button

  • What's the CSS class of this blue border for submit button ? Is it related to the body tag ?

    Smile , it's good for health

  • 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.

    .yourButton:focus {
        background-color: red;
        color: #FFF;
        outline: 0;

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!