Answers for "removing otline from button onclick"

CSS
7

css get rid of button outline on click

button:hover, button:focus {
  outline: none;
}
Posted by: Guest on September-17-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

Browse Popular Code Answers by Language