how to remove outline for button code example
Example 1: css get rid of button outline on click
button:hover, button:focus {
outline: none;
}
Example 2: how to get rid of button outline when clicked
*:focus {
outline: 0 !important;
}
button:hover, button:focus {
outline: none;
}
*:focus {
outline: 0 !important;
}