Answers for "css remove button border when clicked"

CSS
4

remove button default border css

button:focus { outline: none; }
Posted by: Guest on September-09-2020
1

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>
Posted by: Guest on March-17-2020
0

remove outline on button click

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

for tailwind css :
outline-none 
focus:outline-none
Posted by: Guest on September-13-2020

Code answers related to "css remove button border when clicked"

Browse Popular Code Answers by Language