button clicked still has outline code example
Example 1: css get rid of button outline on click
button:hover, button:focus {
outline: none;
}
Example 2: remove box around button when clicked
* {
outline: none;
}
button:hover, button:focus {
outline: none;
}
* {
outline: none;
}