remove border button css code example
Example 1: how to remove button decoration
button {
border: none;
}
button:focus {
border: none;
outline: none;
}
button:focus{
outline:none !important;
}
(add !important if it is used in Bootstrap)
Example 2: remove button default border css
button:focus { 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: css remove button outline
button:focus {outline:0;}