how to remove outline of button onclick code example

Example 1: css get rid of button outline on click

button:hover, button:focus {
  outline: none;
}

Example 2: how to remove outline on button

outline: none;

Example 3: remove clicked button border

<button style="outline: none;"></button>

Example 4: button remove border if click

<style>
input[type="button"]
{
    width:120px;
    height:60px;
    margin-left:35px;
    display:block;
    background-color:gray;
    color:white;
    border: none;
    outline:none;
}
</style>

Tags:

Css Example