how to remove border from button code example

Example 1: remove button default border css

button:focus { outline: none; }

Example 2: how to remove border on button click

.btnName{
	outline: none;
}

Example 3: how to remove border from selected button

outline: none;

Example 4: html button remove border on click

.x-btn:focus, .button:focus, [type="submit"]:focus {
   outline: none;
}

Example 5: 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