dotted outline coming for </button><button> tag in firefox

时间:2016-10-20 20:01:33

标签: html firefox

On focusing of the <button> tag, I'm unable to remove dotted border around its text.

I tried

border:0, outline: 0 

properties. These properties only remove border and outline from <button> but border around text comes on focusing of button.

Here is my fiddle: https://jsfiddle.net/souviksarkar86/4shqvaq8/

1 个答案:

答案 0 :(得分:0)

这可能就是你要找的东西:

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