remove button click outline css code example
Example 1: how to get rid of button outline when clicked
*:focus {
outline: 0 !important;
}
Example 2: html button remove border on click
.x-btn:focus, .button:focus, [type="submit"]:focus {
outline: none;
}
Example 3: how to fix the button outline onclick
<style>
input[type="button"]
{
width:120px;
height:60px;
margin-left:35px;
display:block;
background-color:gray;
color:white;
border: none;
outline:none;
}
</style>