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