remove outline on button click code example

Example 1: how to remove border on button click

.btnName{
	outline: none;
}

Example 2: how to get rid of button outline when clicked

*:focus {
    outline: 0 !important;
}

Example 3: css remove button outline

button:focus {outline:0;}

Example 4: how to remove outline on button

outline: none;

Example 5: html button remove border on click

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

Example 6: remove outline on button click

using outline:none; we can remove that border in chrome

for tailwind css :
outline-none 
focus:outline-none

Tags:

Misc Example