I have recently started building a website and have started to make buttons on it. However, whenever I click the button, I get a blue border like this !
How should I get rid of this border? Thanks in advance!
If you want to remove the focus around a button, you can use the CSS outline property. You need to set the “none” value of the outline property.
Just add a:visited { outline: none; } in your style file. Save this answer. Show activity on this post.
On the Page Layout tab, in the Page Background group, select Page Borders. In the Borders and Shading dialog box, on the Page Border tab, under Setting, choose None. Select OK.
Add this css to your button:
outline: none;
Just add :
button:focus {
outline: none;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With