remove border from clicked button code example
Example 1: css get rid of button outline on click
button:hover, button:focus {
outline: none;
}
Example 2: html button remove border on click
.x-btn:focus, .button:focus, [type="submit"]:focus {
outline: none;
}