1. 删除按钮虚线框

    <!-- 火狐浏览器,去除按钮虚线框 -- > 
    button::-moz-focus-inner,
    input[type='reset']::-moz-focus-inner,
    input[type='button']::-moz-focus-inner,
    input[type='submit']::-moz-focus-inner,
    input[type='file'] > input[type='button']::-moz-focus-inner {
    border: none;
    }
  2. 删除 range 虚线框

    input[type='range']:focus {
    outline: none;
    }
    input[type='range']::-moz-focus-outer {
    border: none;
    }