LoginSignup
3

More than 5 years have passed since last update.

Firefoxのbuttonとかinput要素内に出てくる変な余白を消す

Posted at
button::-moz-focus-inner { 
    border: 0; 
    padding: 0; 
    margin-top:-2px; 
    margin-bottom: -2px; 
}

参考:http://davidwalsh.name/firefox-buttons

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3