how to remove border of button code example
Example 1: remove button default border css
button:focus { outline: none; }
Example 2: how to remove border on button click
.btnName{
outline: none;
}
Example 3: removing the unwanted border button css
button,
button:active,
button:focus {
outline: none;
}
Example 4: how to remove border from selected button
outline: none;
Example 5: html button remove border on click
.x-btn:focus, .button:focus, [type="submit"]:focus {
outline: none;
}