Unwanted outline or border around button when clicked

后端 未结 5 2061
甜味超标
甜味超标 2021-02-18 13:33

I have a styled button on my website. But when I click it, it creates an unwanted border or outline (I don\'t know which). How can I remove that border? Below is all the code th

5条回答
  •  灰色年华
    2021-02-18 13:46

    If you are talking about the dotted line in Firefox, I think what you're looking for is this:

    button::-moz-focus-inner { border: 0; }
    

    This is a thread on the topic: How to remove Firefox's dotted outline on BUTTONS as well as links?

提交回复
热议问题