Answers for "html css border around button when clicked"

1

html button remove border on click

.x-btn:focus, .button:focus, [type="submit"]:focus {
   outline: none;
}
Posted by: Guest on March-20-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

Code answers related to "html css border around button when clicked"

Browse Popular Code Answers by Language